[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: PiL 1
- From: Petite Abeille <petite.abeille@...>
- Date: Wed, 12 Oct 2011 16:25:05 +0200
On Oct 12, 2011, at 2:58 PM, Alexander Gladysh wrote:
> This does not means that one should use it.
Why not? What's wrong with string.len?
>> The length operator is new (in 5.1):
> Why do you mention it?
It applies to string as well:
( 'hello world' ):len() == #( 'hello world' )