NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on August 09, 2010, 05:38:01 AM

Title: Function to translate &
Post by: Alberto on August 09, 2010, 05:38:01 AM
Hi,
Is there a Function to translate, by ex, & inside a string?
Thanks
Alberto
Title: Re: Function to translate &
Post by: Bruce on August 09, 2010, 10:09:01 PM
Hi Alberto,

can you explain the context?
Do you have strings containing this, and you want to convert it back to the normal characters for storage?
If so are the strings coming in via a form or something?

Of do you have strings containing these characters that you want to convert so they can be displayed on a web page?

cheers
Bruce

Title: Re: Function to translate &
Post by: Alberto on August 10, 2010, 03:39:27 AM
Hi Bruce,
I´m reading and parsing a web page, in that page, by eg, appears a string like:

Standard & Poors

when you parse it you get

Standard & Poors

Is there any function to translate that string to get Standard & Poors

Thanks
Alberto
Title: Re: Function to translate &
Post by: Bruce on August 10, 2010, 04:22:13 AM
ahh - ok - you're using the web client class I presume?

I don't think there's a method in NetTalk to do this at the moment.

cheers
Bruce