xHarbour Reference Documentation > Function Reference |
Creates a literal character string from a string.
StringToLiteral( <cString> ) --> cLiteralString
The function converts <cString> to a literal string and returns the result.
Literal character strings are strings that can be processed by the macro compiler and produce the original string. The function StringToLiteral() searches <cString> for quotes and non-printable characters, and replaces them with adequate characters which produce the original when processed by the macro compiler.
See also: | &, CStr(), HB_Serialize(), Valtype(), ValToPrg(), ValToPrgExp() |
Category: | Conversion functions , xHarbour extensions |
Source: | rtl\cstr.prg |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com