Product SiteDocumentation Site

5.2.4. String concatenation

StringConcatExpr
Figure 5.19. StringConcatExpr

Two strings or more can be concatenated using the concatenation operator.
Example 5.42. String concatenation
"Captain" || " " || "Kirk"
Result (run with Zorba):
Captain Kirk

An empty sequence is treated like an empty string.
Example 5.43. String concatenation with the empty sequence
"Captain" || () || "Kirk"
Result (run with Zorba):
CaptainKirk