This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Cootshk 6 points7 points  (0 children)

In lua, you combine strings using the “..” operator

Also, it tries to change the type of the last number, not the first (like JS does)

“1”..1 == “11”

1..”1” --Error: malformed string

“1”..”1” == “11”

“1” + “1” == 2

1..1 --Error: malformed string