Page 1 of 1

How to get all "linkText" in a field

Posted: Wed Apr 28, 2010 10:48 am
by ale870
Hello,

I have a text field, and I defined some "hyperlinks" using linkText and textStyle=link.
No I need to get a list of all defined linkText in a field. I need something like a list.
Is it possible?
If I haven't that function, I need to parse char by char the field, in order to "discover" if a specific word has a defined linkText.

Thank you for your help

Re: How to get all "linkText" in a field

Posted: Wed Apr 28, 2010 11:56 am
by Mark
ale870,

You could use the offset function to search the htmlText property of a field for "http://".

Best regards,

Mark

Re: How to get all "linkText" in a field

Posted: Wed Apr 28, 2010 12:38 pm
by ale870
This idea is interesting! I will make a test!
Thank you!