ToString()
Converts a value to a string.
ToString( value=any, encoding=string );
Returns: String
Examples
Function example
writeDump(toString(45));
dt=now();
writeDump(toString(dt));
Member function example
number=randrange(1,10);
writeDump(number.toString());
dt=now();
writeDump(dt.toString());
See also
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)