attaching "metadata" to a single character

Ken Ray kray at
Thu Sep 21 17:23:30 EDT 2006

On 9/21/06 12:37 PM, "Josh Mellicker" <josh at> wrote:

> I might go the direction of experimenting with the htmlText of the
> field, to see if I can put custom tags in without affecting the
> display, and see if the tags care copied and pasted properly... but
> I'm not sure what dangers might arise if I mess with the htmlText too
> much.

It turns out you can use the "<a name=''></a>" property in HTML which sticks
around and doesn't affect screen display.


put "<p>This is a <a name=" & quote & "Howdy!" & quote & ">Test</a><p>" \
   into temp
set the htmlText of fld 1 to temp

--> You see "This is a Test" in the field

put the htmlText of fld 1

--> You see:

<p>This is <a name="Howdy!">Test</a></p>

Will this do what you're looking for?

Ken Ray
Sons of Thunder Software
Web site:
Email: kray at

More information about the Use-livecode mailing list