Convert to string
Syntax
toString($value1, $value2, ...)
Description
Converts and concatenates all specified values using the label provider registered in the system for the given type. Set values are automatically smoothed.
Parameters
Name | Type | Description | Mandatory | Default |
---|---|---|---|---|
values | Number/string/boolean/object/collection | The values to be concatenated. | yes |
Return value
Type: String
A string representing the concatenation of all specified values
.
Examples
toString("Greetings", 4, list("you", "!"))
Output: Greetings4you!
This result is composed of three parts. The first part is the string Greetings, the second is the number 4 and finally the last part is the list("you", "!") consisting of two more strings. All these elements are combined to the result string. All lists are unpacked and only their elements are considered.