Concatenate two strings.
string strcat <string:str1> <string:str2>
| Name | Type | Comment |
|---|---|---|
| str1 | string | The first part of the concatenated string. |
| str2 | string | The second part of the concatenated string. |
A string containing the contents of str1 followed by the contents of str2.
// create a new string for name
string MyName
// allow user to edit name
EditUI MyName "Please enter your name"
// add strings together using 'strcat' ("Hello " + MyName), and write to event log using 'echo'.
echo <zs:strcat "Hello " MyName>
… the output of which is written to the event log by echo as:
Hello Aaron
None.