UnEscape

Return Unicode characters from an escaped ASCII string.

Syntax 
      UnEscape(String)

Key
   String    The encoded string of text to convert to standard Ascii text.

Examples

Option Explicit
Dim strMessage, strUnescaped

strMessage = "Sample text with (parentheses) spaces & " & Chr(34) & "quotes" & Chr(34)
MsgBox strMessage & vbCR & Escape(strMessage), vbOkOnly+vbInformation, "Demo"
strUnEscaped = UnEscape (strMessage)
MsgBox strUnEscaped & vbCR & Escape(strMessage), vbOkOnly+vbInformation, "UnEscaped"

“Writing is a form of therapy; sometimes I wonder how all those, who do not write, compose, or paint can manage to escape the madness, the melancholia, the panic fear, which is inherent in a human condition” ~ Graham Greene

Related VBScript commands

Escape - Return only ASCII characters from a Unicode string.


 
Copyright © 1999-2024 SS64.com
Some rights reserved