Append
See Also: String Functions, String Command, Expression Syntax
Purpose
Append returns the concatenation of two strings.
Return Type
Syntax
(Append({string1}, {string2}))
What It Does
The append function returns a string made up of the concatenation of {string1} and {string2}.
String sMagicWord
Move "abraca" To sMagicWord
Move (Append(sMagicWord, "dabra")) To sMagicWord
Notes
-
When using only string parameters, the plus sign (
+) performs string concatenation in expressions exactly as the append function does. Under the same circumstances, the minus sign (-) performs concatenation with trim (stripping of trailing spaces from the first value). The asterisk (*) performs concatenation with trim and inserts a single space between the trimmed values. Read more about string operators under Expression Syntax. -
This function returns a value of type string. If the result of this function is moved to a variable of type other than string, its value is converted to the destination type.
-
If any of
string1,string2, etc. is of type other than string, its value will be converted to type string.