lua-users home
lua-l archive

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


On Mon, Oct 27, 2014 at 1:04 PM, Leinen, Rick <RLeinen@leviton.com> wrote:
> What library is everyone using?  I'm having trouble finding information on all this syntax, etc.  The standard string library typically uses string.xxx.


all strings have a metatable with an __index=string, so any function
of the form "string.xxx(s, ...)" can also be called like "s:xxx(...)"

-- 
Javier