lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>So gsub is returning two values, and print displays both of them.
>If you just want the string to be displayed then use an intermediate
>variable:

Or, in Lua 4.1, use print((gsub(...))). Expressions enclosed in parentheses
are adjusted to a single value.
--lhf