User Tools

Site Tools


en:stringoperators

String Operators

String operators perform an operation called concatenation. Concatenation is joining two or more strings together to make a longer string.

String Operators
OperatorNameExampleComments
;Concatenationa ; bAlways concatenates (converts numbers to strings)2
+Concatenationa + bAppends b to the end of a (If either (or both) a and b are not numbers, see IsNumeric). 2
&Concatenationa & bAppends b to the end of a (If either (or both) a and b are not numbers, see IsNumeric). 3
*Repeata * iRepeats string a, integer i times. If i ⇐ 0 an empty string will be returned.

History

2.0.0.0Added string repeat using the '*' operator.
en/stringoperators.txt · Last modified: 2020/04/21 21:16 by admin