lua-users home
lua-l archive

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


On Mon, Dec 6, 2010 at 09:11, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Mon, Dec 6, 2010 at 6:45 AM, HyperHacker <hyperhacker@gmail.com> wrote:

> string.format is one of the important string functions and it would be
> good if this kind of behaviour was built-in and hence more efficient.

If you're not sure of the argument type, you always can call
tostring() on it explicitly, no?

> But then we could ask the very same question about table.concat, which
> also doesn't use tostring...

Why should it?

Alexander.