Playing with strings

2005-10-07 Thread Setec Multimedia
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 : … strongfont size=1example of texte 1 br a href=#linkbr example of link/a/font/strong … …would return

Re: Playing with strings

2005-10-07 Thread Chipp Walters
Easy, create a field, set the htmlText of the field to your html, then get the text of the field. It will strip out the tags for you. best, Chipp Setec Multimedia wrote: Hello everybody, I'm curenytly trying to perform a small utility wich would extract the text datas of an html file

Re: Playing with strings

2005-10-07 Thread Mark Smith
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