I\'m trying to add a string to a returned value in lua:
local function func(str) return (str+\"_something\") end print(func(\"ABC\"))
a
see "Concatenation" in this link: http://lua-users.org/wiki/StringsTutorial
The solution is to use the .., as in example:
..
local function func(str) return (str.." WORLD") end print(func("HELLO"))
that's should return:
HELLO WORLD