9951 explained code solutions for 126 technologies


luaConcatenate two strings


a = "Hello "
b = "World"
c = a .. b
print(c)ctrl + c
a = "Hello "

declares a new variable with a string, the space at the end of Hello is intentionally added

b = "World"

declares a new variable with another string

c = a .. b

concatenate strings a and b

print(c)

print the result