toString (Convert to a string)
See also: toNumber (Conversion to native number), toBigDecimal (Konvertierung in Große Dezimalzahl), toInteger (Conversion to large integer)
Attempts to convert a given input value into a string.
Note: As a rule, it is always possible to convert to a string. It depends on the value/object whether the representation is 'speaking' or not.
Syntax
$toString(any)
Parameter
Name |
Description |
any |
Any value (or object) which should be converted |
Return value
If the input value cannot be converted, nothing ( null ) is returned.
Examples
Syntax |
Result |
$toString({modeOfTransport}) |
Converts the value of the field 'modeOfTransport' into a string and returns it |
$toString($input) |
Tries to convert the input value of the expression |