strcat_delim()
Learn how to use the strcat_delim() function to concatenate between 2 and 64 arguments using a specified delimiter as the first argument.
Concatenates between 2 and 64 arguments, using a specified delimiter as the first argument.
Syntax
strcat_delim(
delimiter, argument1, argument2[ , argumentN])
Parameters
Name | Type | Required | Description |
---|---|---|---|
delimiter | string | ✔️ | The string to be used as separator in the concatenation. |
argument1 … argumentN | scalar | ✔️ | The expressions to concatenate. |
Returns
The arguments concatenated to a single string with delimiter.
Example
print st = strcat_delim('-', 1, '2', 'A', 1s)
Output
st |
---|
1-2-A-00:00:01 |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.