/
Concatenating strings

Concatenating strings

To concatenate or join together multiple strings, you can use the “..“ double-dot notation.

Here’s a quick example:

local firstname = 'John' local lastname = 'Doe' local fullname = firstname.." "..lastname trace(fullname)

You can see the result in the Annotation Windows.

 

Related content

Dynamic SQL Query Construction
Dynamic SQL Query Construction
More like this
Reading from a Database
Reading from a Database
Read with this
Colon Operator
Colon Operator
More like this
Handling Special Characters in SQL Statements
Handling Special Characters in SQL Statements
Read with this
table:insert()
table:insert()
More like this
Executing SQL Statements
Executing SQL Statements
Read with this