ConcatString
Use ConcatString to generate a single string with values separated by asterisks.
ConcatString is a helper function that can be used to input an array of values and output a single string that contains the values separated by a user-defined symbol. ConcatString requires a minimum of 1 value and a maximum of 20.
Syntax
ConcatString("<symbol>", "<value 2>", "<value 3>", [...])
Argument |
Description |
Required/Optional |
---|---|---|
Symbol |
The symbol that you want to use to separate the values.
Note: Values will be spliced with nothing
in between them if this argument is empty.
|
Optional |
Value |
The value that you want to asterisks-splice join. |
Required |
Example
Example input:
ConcatString("^", "laptop", "tablet", "mobile")
Example output:
"laptop^tablet^mobile"
Example input:
ConcatString("", "laptop", "tablet", "mobile")
Example output:
"laptoptabletmobile"