NetTalk Central

Author Topic: Function to translate &  (Read 3239 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1871
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Function to translate &
« on: August 09, 2010, 05:38:01 AM »
Hi,
Is there a Function to translate, by ex, & inside a string?
Thanks
Alberto
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Function to translate &
« Reply #1 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


Alberto

  • Hero Member
  • *****
  • Posts: 1871
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Function to translate &
« Reply #2 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Function to translate &
« Reply #3 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