Conversion functions

Function Description
ArrayToList
Converts a one-dimensional array to a list.
BinaryDecode
Converts a string to a binary object.
BinaryEncode
Converts a binary data to a string.
CharsetDecode
Converts a string to a binary representation.
CharsetEncode
Converts a binary data to a string using a specified encoding.
DeserializeJSON
Converts a JSON string to a ColdFusion structure.
DotNetToCFType
Converts a value returned by a .NET method to the corresponding ColdFusion data type.
Hash
Converts a string into a fixed length hexadecimal string.
Hmac
Creates a keyed-hash message authentication code (HMAC).
LCase
Converts the alphabetic characters in a string to lowercase.
ListToArray
Copies the elements of a list to an array.
SerializeJSON
Converts a ColdFusion variable into a JSON string.
ToBase64
Calculates the Base64 representation of a string or binary object.
ToBinary
Calculates the binary representation of Base64-encoded data.
ToScript
Creates a JavaScript or ActionScript expression that
assigns the value of a ColdFusion variable to a JavaScript
or ActionScript variable.
ToString
Converts a value to a string.
URLDecode
Decodes a URL-encoded string.
URLEncodedFormat
Generates a URL-encoded string.
Val
Converts numeric characters that occur at the beginning of a
string to a number.
XmlFormat
Escapes special XML characters in a string so that the string can be used as a text in XML.
XmlParse
Converts an XML document that is represented as a string
variable into an XML document object.
XmlTransform Applies an Extensible Stylesheet Language Transformation (XSLT)
to an XML document object that is represented as a string
variable.

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online