String Operators
String operators perform an operation called concatenation. Concatenation is joining two or more strings together to make a longer string.
String Operators |
Operator | Name | Example | Comments |
; | Concatenation | a ; b | Always concatenates (converts numbers to strings)2 |
+ | Concatenation | a + b | Appends b to the end of a (If either (or both) a and b are not numbers, see IsNumeric). 2 |
& | Concatenation | a & b | Appends b to the end of a (If either (or both) a and b are not numbers, see IsNumeric). 3 |
* | Repeat | a * i | Repeats string a, integer i times. If i ⇐ 0 an empty string will be returned. |
History
2.0.0.0 | Added string repeat using the '*' operator. |