[Gambas-user] Gambas2: Replace doesn't replace

Ricardo Díaz Martín oceanosoftlapalma at ...626...
Tue Mar 12 13:54:45 CET 2013


Hi Rolf,

You have to use in your code

txt = Replace(txt, alterString, neuerString)

instead of

Replace(txt, alterString, neuerString)



In http://gambasdoc.org/help/lang/replace?v2 you can see as Replace works:

*Result* *= Replace (* *String* *,* *Pattern* *,* *ReplaceString* [
*,* *Comparison* ] *)*


Regards,
Ricardo



More information about the User mailing list