On Mar 6, 2010, at 2:35 PM, Mark Stuart wrote:
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.
Basically, I would go to a site that shows all html entities, make a
list of those, and do a replace using a repeat loop.
Google 'html entities' to get the possibilities.
Jim Ault
Las Vegas
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution