Group Character Conversion
Asc()
Converts a character to its numeric ASCII code.
Asc( <cExpression> ) --> nAsciiCode
Base642Bin()
Decodes a base64 encoded string.
Base642Bin( <cString> ) --> cDecodedString
Bin2Base64()
Converts a string to a base64 encoded string.
Bin2Base64( <cString>, [<nLineLen>] ) --> cEncodedString
Bin2QP()
Transforms the passed string to a "quoted-printable" encoded string.
Bin2QP( <cString>, [<nLineLen>] ) --> cEncodedString
Bin2UUE()
Transforms a string to a "Bin2UUEd" string.
Bin2UUE( <cString> ) --> cEncodedString
Char2Hash()
Convert a character string to a hash value
Char2Hash( <cString> [, <nBitLen>] ) --> cHash
Char2UTF8()
Convert an OEM/ANSI encoded character string to an UTF-8 encoded character string
Char2UTF8( <cString>] ) --> utf8String
Char2Var()
Converts a string into a value of a requested data type.
Char2Var( <cString>, <cValtype> ) --> xValue
Chr()
Converts a numeric ASCII code to a character.
Chr( <nAsciiCode> ) --> cCharacter
ConvToAnsiCP()
Converts a character string to an ANSI code page
ConvToAnsiCP( <cOemFormatString> ) --> cAnsiFormatString
ConvToOemCP()
Converts a character string to an OEM code page
ConvToOemCP( <cAnsiFormatString> ) --> cOemFormatString
CtoD()
Converts a date character string to a date value.
CtoD( <cDate>[, <cDateFormat>] ) --> dDate
DtoC()
Converts a date value to a character string.
DtoC( <dDate>[, <cDateFormat>] ) --> cDate
DtoS()
Converts a date value to a character string in the format YYYYMMDD.
DtoS( <dDate> ) --> cDate
IsUnicode()
Determine whether a character string has Unicode format.
IsUnicode( <cString> ) --> lIsUnicode
Json2Var()
Converts JSON text to a value of the corresponding data type.
Json2Var( <cJson> ) -> aoData
JsonDecode()
Converts JSON text to a character string.
JsonDecode( <cJsonString> ) -> cString
JsonEncode()
Converts a character string to JSON text.
JsonEncode( <cString> ) -> cJsonString
LChar2Var()
Converts a locale string into a value of a requested data type.
LChar2Var( <cString>, <cValtype> ) --> xValue
QP2Bin()
Decodes a "quoted-printable" encoded string.
QP2Bin( <cString> ) --> cDecodedString
SET HASH
Sets the default hash algorithm.
SET HASH TO SHA1|sha2|sha3|md5
StoD()
Converts a character string in the format YYYYMMDD to a date value.
StoD( <cDateString> ) --> dDate
Str()
Converts the value of a numeric expression to a character string.
Str( <nValue>, [<nLength>], [<nDecimals>] ) --> cString
Str2Unicode()
Converts an OEM/ANSI/ASCII character string to a Unicode string.
Str2Unicode( <cString> ) --> cuString
StrZero()
Converts a numeric value to a character string with leading zeros.
StrZero( <nValue>, [<nLength>], [<nDecimals>] ) --> cString
Transform()
Transforms a value to a formatted character string.
Transform( <Expression>, <cSayPicture> ) --> cFormattedString
Unicode2Str()
Convert a Unicode to an ANSI-encoded character string.
Unicode2Str( <cuString> ) --> cString
UTF82Char()
Convert an UTF-8 encoded character string to an OEM/ANSI encoded character string
UTF82Char( <utf8String>] ) --> cString
UUE2Bin()
Decodes a string which is Bin2UUEd.
UUE2Bin( <cString> ) --> cDecodedString
UuidFromChar()
Convert a UUID to its binary representation
UuidFromChar( <cUUID> ) --> xUUID
UuidToChar()
Convert a UUID to its readable representation
UuidToChar( <xUUID> ) --> cUUID
Val()
Converts a number in the form of a character string to a numeric value.
Val( <cNumber> ) --> nNumber
Var2Char()
Converts a variable to it's string representation.
Var2Char( <xValue> ) --> cString
Var2Json()
Converts an array or object to JSON text.
Var2Json( <aoValue> ) -> cJson
Var2LChar()
Converts a variable to it's locale string representation.
Var2LChar( <xValue> ) --> cString
Var2Xml()
Converts any value to an XML-encoded character string.
Var2Xml( <xValue> ) --> cXmlString
Xml2Var()
Converts an XML-encoded character string back to the original value.
Xml2Var( <cXmlFragment> ) --> xValue