Unescape string
Posted: Sat Jul 01, 2017 1:15 pm
My JSON response string has an apostrophe - eg: "Author's list". How can I unescape it? I've tried using unescape() function around string but that does not work.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
My JSON response string has an apostrophe - eg: "Author's list". How can I unescape it? I've tried using unescape() function around string but that does not work.
Hello,
Please clarify, what string exactly do you want to get there?
It will return you a string pre"Author's list"/pre from the JS code below: preunescape("Author%27s%20list")/pre