Hi François,

Thanx for your quick reply.
I added Sarah's script into my application and ran it.

The function halted with an error on ("), because it is not a number. I
think Sarah's function is looking for a number after the ampersand, correct?
So I'm handling the (") as an exception for now by using this script:

if theText contains """ then
   replace """ with quote in theText
end if

and then call the decodeEntities(theText) function.

I'm sure I'll come across other HTML text like this, but don't know how to
handle it really.

Merci,
Mark Stuart
-- 
View this message in context: 
http://n4.nabble.com/reading-and-converting-web-page-HTML-text-tp1583130p1583155.html
Sent from the Revolution - User mailing list archive at Nabble.com.
_______________________________________________
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