To output the value of any variable in a string, you can use the string interpolation helper: double curly braces {{ }}
.
This makes it extremely easy to concatenate multiple values of any type into a single string. Objects, arrays and numbers will be stringified automatically and missing properties will be evaluated as NULL
.
To concatenate two strings, you can also use the +
operator (starting in CSML v1.8.0):