How to convert a string containing escape characters to a string

Viewed 18747

I have a string that is returned to me which contains escape characters.

Here is a sample string

"test\40gmail.com"

As you can see it contains escape characters. I need it to be converted to its real value which is

"test@gmail.com"

How can I do this?

5 Answers
Related