Method to substitute a string of text in htmlText of a field

2014-01-13 Thread Peter Bogdanoff
Hi, I need to substitute the html linkText in a field with other linkText. For example I want to replace all instances of Gl,movement with Gl,12345 in the htmlText of two background fields on many cards. a name=Gl,movementmovement/a I suspect someone has a routine to this. Find

Re: Method to substitute a string of text in htmlText of a field

2014-01-13 Thread Gerry Orkin
You kinda had it right :) Try: replace Gl,movement with Gl,12345 in thetext Easy! Gerry On 14 Jan 2014, at 11:57 am, Peter Bogdanoff bogdan...@me.com wrote: I need to substitute the html linkText in a field with other linkText. ___ use-livecode

Re: Method to substitute a string of text in htmlText of a field

2014-01-13 Thread Peter Bogdanoff
Yep, that did it. Thanks, Peter On Jan 13, 2014, at 5:04 PM, Gerry Orkin wrote: You kinda had it right :) Try: replace Gl,movement with Gl,12345 in thetext Easy! Gerry On 14 Jan 2014, at 11:57 am, Peter Bogdanoff bogdan...@me.com wrote: I need to substitute the html