The most straightforward way to concatenate (or combine) strings in Lua is to use the dedicated string concatenation operator, which is two periods (..). message = "Hello, " .. "world!" -- message equals "Hello, World!" Numbers are coerced to string...
Markdown supported · ⌘↵ to post
No responses yet.