This would be a way to follow Craig's suggestion:

   put the htmlText of fld 1 into temp
   replace "<b>" with "" in temp
   replace "</b>" with "" in temp
   set the htmlText of fld 1 to temp

-- Paul

On Fri, Oct 2, 2009 at 3:39 PM,  <dunb...@aol.com> wrote:
> The proffered scripts all necessitate that the original text, likely from a
> field, be manHandled word by word.
>
> This is because text in a variable does not retain the textStyle of the
> source. But don't I remember that there is a way, or a gadget, that holds the
> style along with the raw text? The only reason it might matter is speed; a
> lot of getting and setting goes on in the solutions offered. It might be worth
> it to put massive amounts of text in a variable and process there,
> returning the new styled text to the field in one put.
>
> Seems like I saw this somewhere...
>
> Craig Newman
_______________________________________________
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