JoinStrings
Concatenates a series of string values into a single string.
Syntax
JoinStrings( StringValue1, StringValue2, StringValue3, [...] );
Parameters
| Parameter Name | Type | Description | Optional? | Default Value |
|---|---|---|---|---|
| StringValue | String | A string to include. Calls to this function can include as many instances of this argument as needed, as long as each is a valid string or integer, and is separated from its predecessor using a comma. | No | n/a |
Output
A string consisting of all specified string values in the order they were added.
Use Case
The expression below shows how static string and integer values can be combined with the dynamic value of a variable:
VARWinnerMessage:= JoinStrings( "Congratulations, ", VARFirstName, "! You have unlocked ", 250 + 100, " points!" );
If this expression is executed when the value of VARFirstName is "Sue", the resulting string will be as follows:
Congratulations, Sue! You have unlocked 350 points!