See also: toNumber (Conversion to native number), toBigDecimal (Conversion to large decimal integer), 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.
Tooltip
Syntax: $toString(any)
Parameter
Description
anyAny value (or object) which should be converted.
If the input value cannot be converted, nothing (null ) is returned.
Example: $toString({modeOfTransport}) → Converts the value of the field 'modeOfTransport' into a string and returns it.
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. |