lua-users home
lua-l archive

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


That's bad... ("foo"):len() looks weird.

On 6/23/06, Vyacheslav Egorov <mraleph@gorodok.net> wrote:
Diego Nehab wrote:
> So you can call "foo":len() and get string.len("foo")...
No. You can call ("foo"):len(), but not "foo":len().

--
e.v.e



--
Anders