How can I strip away formatting from an RTF file?

J. Landman Gay jacque at hyperactivesw.com
Wed Jul 8 20:20:24 CEST 2015


On 7/8/2015 12:31 PM, Devin Asay wrote:

> Another trick I’ve learned (unless it’s been changed recently) is
> thatusing ‘replace’ on a field strips formatting.
>
>    replace space with space in fld “myRTF”
>

I usually skip the intermediary and just do:

  set the RTFText of field "File Text" to url ("file:" & longFileName)
  put fld "File Text" into fld "File Text"

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list