[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: string[], doesn't exist?
- From: Sam Roberts <sroberts@...>
- Date: Fri, 23 Jun 2006 09:49:31 -0700
On Fri, Jun 23, 2006 at 04:27:58PM +0200, Anders Bergh wrote:
> That's bad... ("foo"):len() looks weird.
yes, but this does work:
> s="foo"
> = s:len()
3
> 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().
- References:
- Re: Bitwsie operators in Lua, Andy Stark
- Re: Bitwsie operators in Lua, Doug Rogers
- Re: Bitwsie operators in Lua, Andy Stark
- Re: Bitwsie operators in Lua, Roberto Ierusalimschy
- string[], doesn't exist?, Sam Roberts
- Re: string[], doesn't exist?, Luiz Henrique de Figueiredo
- Re: string[], doesn't exist?, Sam Roberts
- Re: string[], doesn't exist?, Diego Nehab
- Re: string[], doesn't exist?, Vyacheslav Egorov
- Re: string[], doesn't exist?, Anders Bergh