How to find and replace

Mark Greenberg markgreenberg at cox.net
Mon Jun 6 19:08:24 EDT 2005


Christian,
	My previous example used a flavor of RegEx not supported by Rev.  
Sorry.  Please modify the example to read:

Put "The day is dappled with da and dads."

MatchText (MyText, "\bda\b")
--returns true because da is by itself.

ReplaceText (MyText, "\bda\b", "Ra")
--returns "The day is dappled with Ra and dads."

On Monday, June 6, 2005, at 12:56 PM, 
use-revolution-request at lists.runrev.com wrote:

> I click  "da" and I just want this to be replaced in the field
> (not  "das", "Dach","Dame",...)
>
> How can I solve this ?



More information about the use-livecode mailing list