Another question: Is there a straightforward way to maintain uppercase letters in this swap-out scheme?

replace "th" with "<b>th</b>" in tText also replaces "Th" with "<b>th</ >"

Thanks,
Mark




On Nov 15, 2008, at 4:10 PM, Ken Ray wrote:

How about

put fld 1 into tText
replace "ck" with "<font><b>ck</b></font>" in tText
replace "ch" with "<font><b>ch</b></font>" in tText
replace "oa" with "<font><u>ch</u></font>" in tText
replace "oo" with "<font><u>oo</u></font>" in tText
...
set the htmltext of fld 1 to tText

Actually, you can type less by eliminating the <font> tags:

put fld 1 into tText
replace "ck" with "<b>ck</b>" in tText
replace "ch" with "<b>ch</b>" in tText
replace "oa" with "<u>ch</u>" in tText
replace "oo" with "<u>oo</u>" in tText

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to