Skip to content

Strings

str_1 = 'Hello I am single line string'
str_2 = "Hello I am single line string"
str_3 = [[
    Hello, 
    I am multi
    lined
    string
]]

The .. operator concatenates the strings.

str_1 = "Hi "
str_2 = "Bye"

print(str_1 .. str_2)