Convert all special chars in a text into regular letters...
Posted: Tue Jan 08, 2013 11:01 pm
I'm sure I've seen something before, but I couldn't find any useful code example...
I want to have a small function, which is able to convert all special chars occuring in longer text strings into their regular letters.
For example take the text and look for all "special chars" listed in the first line, and convert them into their respective counterparts listed on the second line:
Of course I can do this using a loop with several ReplaceString() and similar calls, but I hope there is a faster way (usable for long texts / thousands of text strings....
Any small example would be very welcome! Thanks!

I want to have a small function, which is able to convert all special chars occuring in longer text strings into their regular letters.
For example take the text and look for all "special chars" listed in the first line, and convert them into their respective counterparts listed on the second line:
Code: Select all
ÄÂäãåæçÐÉÈéèïíîñÖöøÞŠšÜüÚúý
AAaaaacDEEeeiiInOoopSsUeUuy
Any small example would be very welcome! Thanks!
