lua-users home
lua-l archive

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


On Tue, Mar 8, 2011 at 1:56 PM, Michal Kottman <k0mpjut0r@gmail.com> wrote:
> The solution is to use tostring explicitly and call string.format as
> follows:

Yes, and the same would apply to string concatenation, etc.

 It depends whether it is most useful to have strings around as native
or as Lua.

 LuaJava converts Java strings into Lua strings automatically; it is
still possible to construct a java.lang.String explicitly to access
its special methods when needed.

steve d.