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

Peter Bogdanoff bogdanoff at me.com
Mon Jan 13 19:57:43 EST 2014


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,movement">movement</a>

I suspect someone has a routine to this.

Find doesn't work on htmlText when it's not visible and I'm getting over my head trying to do it with the offset function.

Thanks for suggestions!

Peter Bogdanoff
UCLA


More information about the use-livecode mailing list