29.08.2015, 16:47
Quote:
Actually you dont need to format the string. LUA has support for string-concatenation.
Код:
print("Hello " .. "World") --> Hello World print(0 .. 1) --> 01 Код:
a = "Hello" print(a .. " World") --> Hello World print(a) --> Hello |
PS: I was always comfortable working with a formatted string. So I can store/transmit "format" apart from the arguments.