User Guide

892 Chapter 3: ColdFusion Functions
ToString
Description
Converts a value to a string.
Returns
A string.
Category
Conversion functions, String functions
Function syntax
ToString(value[, encoding])
See also
ToBase64
, ToBinary, CharsetEncode; Chapter 35, “Using XML and WDDX,” in ColdFusion
MX Developer’s Guide
History
ColdFusion MX:
Changed Unicode support: ColdFusion supports the Java UCS-2 representation of Unicode
character values 0–65535. (ColdFusion 5 and earlier releases supported ASCII values 1–255.)
Added the encoding parameter.
Added ability to convert an XML document object to a string.