Ankur Patwa
Posts: 0
Joined: Mon May 01, 2017 7:40 pm

Unescape string

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Unescape string

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

Return to “Issues”