Page 1 of 1

Unescape string

Posted: Sat Jul 01, 2017 1:15 pm
by Ankur Patwa

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.


Unescape string

Posted: Mon Jul 03, 2017 11:11 am
by Serhii Kulibaba

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