Navigation
Synopsis Concatenate two strings.
Syntax Exp1 + Exp2
Types
Exp1 Exp2 Exp1 + Exp2
str str str
Description Concatenates the string values of Exp1 and Exp2.

Note that to concatenate other types of values into a string, you can use String interpolation.
Examples
rascal>"abc" + "def";
str: "abcdef"
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.