Product Site

5.1.7.21. Concatenation Methods

Concatenates the receiver object with argument. (See Section 1.11.2.1, “String Concatenation”.) The concatenation_operator can be:
""

concatenates without an intervening blank. The abuttal operator "" is the null string. The language processor uses the abuttal to concatenate two terms that another operator does not separate.
||

concatenates without an intervening blank.
" "

concatenates with one blank between the receiver object and the argument. (The operator " " is a blank.)
Example 5.58. String class — concatenation methods
f = "abc"
Say f"def"      -->   "abcdef"
Say f || "def"  -->   "abcdef"
Say f "def"     -->   "abc def"