lua-users home
lua-l archive

Re: string[], doesn't exist?

[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

AltStyle によって変換されたページ (->オリジナル) /