Append String Variables

Is it possible to append one string variable to another within a “when…otherwise” expression?

Example:
m1 = “Hello”
m2 = " world."

message =
when t>10 m1
when t>20 m1 append m2
otherwise “”

Can do, my friend.

message =
when t>10 m1
when t>20 "${m1}${m2}"
otherwise “”

The "${m1}${m2}" statement is a new string which is constructed from the values of the strings m1 and m2. Just make sure you take care with spacing, as you can add the spaces in the variables or in the string you are declaring on the fly.

Hope this helps!

Perfect! Thanks so much Shaun!

Cheers

Dave