Docs
Strings
Pure and rich string forms.
Forms
'pure' ; no escapes, no interp, no interior '
"rich\n{name}" ; escapes + {name} interpRules
String concatenation with + is unavailable. Build text with rich strings. == and != compare content.
Interpolation
Rich strings interpolate a bound name with {name}. Inside a method, {.field} reads from the receiver. Pure strings preserve their contents literally and cannot contain an interior single quote.
$ name = 'Ada'
$ visits = 3
$ message = "Hello, {name}; visits={visits}\n"