Xbasic

js_unescape Function

Syntax

C Result = js_unescape(text as C)

Arguments

textCharacter

Escaped text

Description

Parse a javascript string.

Discussion

Parses a javascript string. Returns the string unescaped.

Example

dim str as c = "These quotes are \'escaped\' in this string."
? js_unescape(str)
= "These quotes are 'escaped' in this string."

See Also