What is uneescape () | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is uneescape ()

Question

9th May 2019, 2:50 AM
Trex 2.0.1
Trex 2.0.1 - avatar
2 Answers
+ 4
Unescape to decodes an encoded-string. For example its like a link. The encoded string with escape() : hello%20there%21 Then decode the text above with unescape() : hello there!
9th May 2019, 4:04 AM
Andri Hry
Andri Hry - avatar
+ 2
Escaping means that you encode something that contains something that is not allowed to be included as it changes the meaning. E.g. terminating characters in strings or URLs, keywords in code and so on. Unescaping is the symmetric reverse function (decoding). Mistakes or not doing this is for example used in injection attacks (like SQL injection).
9th May 2019, 6:36 AM
Daniel Adam
Daniel Adam - avatar