How can I strip away formatting from an RTF file?

J. Landman Gay jacque at
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
HyperActive Software           |

More information about the use-livecode mailing list