Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function TOSTRING

Converts a value to a string.

Example

tostring([any value,[string encoding]]):string

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
value any  No Value to convert to a string; can be a simple value such as an integer, a binary object, or an XML document object.  
encoding string  No The character encoding (character set) of the string.