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.

Example

Option Explicit
Dim strMessage, strUnescaped

strMessage = "Sample text with (brackets) 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:

Escape - Return only ASCII characters from a Unicode string.


© Copyright SS64.com 1999-2013
Some rights reserved