Array
luamylist = {'a', 'b', 'c'}
mylist_length = #mylist
is_empty = next(mylist) == nil
Use pairs()
to loop an array (table):
luafor index, value in pairs(mylist) do
print(value)
end
String
luaname = "Hime"
concatenate = "Hello " .. "World"
formatting = string.format("Hello %s!", name)