If you set the HTMLtext of the field to you bit of html, it will generally do a pretty good job of displaying only the text, though it will be formatted according to the html formatting tags. To get around this, you can do

set the HTMLText of fld "myField" to theBitOfHtml
put fld "myField" into fld "myField" -- effectively resets the the formatted text to whatever font, size and style the field is set to.

Mark

On 7 Oct 2005, at 21:36, Setec Multimedia wrote:

Hello everybody,

I'm curenytly trying to perform a small utility wich would extract the text datas of an html file into separated items or lines of a field.
For example, this html code :
…
<strong><font size="1">example of texte 1 <br>
<a href="#link"><br>
example of link</a></font></strong>
…

…would return these result in a defined field :

example of texte 1
example of link

The problem is that it seems impossible to extract something beetween two items (simply beetween the ">" and "<" tags) in a simple way.

Do you see any good way to do this ?

Thanks for you help,

Cordialy

Aurélien Durand
_______________________________________________
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


_______________________________________________
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