lua concatenation
-- Step 1: Define two strings
str1 = "Hello, "
str2 = "Lua!"
-- Step 2: Concatenate the two strings using the concatenation operator '..'
result = str1 .. str2
-- Step 3: Print the result
print(result)
Output:
Hello, Lua!
-- Step 1: Define two strings
str1 = "Hello, "
str2 = "Lua!"
-- Step 2: Concatenate the two strings using the concatenation operator '..'
result = str1 .. str2
-- Step 3: Print the result
print(result)
Output:
Hello, Lua!