replaceText

Richmond richmondmathewson at gmail.com
Wed Jun 13 05:19:20 EDT 2012


put fld "TEXXT" into TEXXT
   if TEXXT contains "sugar" then
     replaceText ("sugar","sugar","sweetener")
end if
put TEXXT into fld "TEXXT"

doesn't work.

The dictionary entry does NOT say something like this:

replaceText TEXXT ("sugar","sugar","sweetener")

----------------------

tried:

if fld "TEXXT" contains "sugar" then
     replaceText ("sugar","sugar","sweetener")
end if

no joy there either.

???

Richmond.




More information about the use-livecode mailing list