[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: string[], doesn't exist?
- From: Sam Roberts <sroberts@...>
- Date: Wed, 21 Jun 2006 09:18:30 -0700
On Wed, Jun 21, 2006 at 10:53:34AM -0300, Roberto Ierusalimschy wrote:
> The Lua core does see strings as raw sequences of bytes. There is no
> "particular implementation" involved. This is not an implementation
> detail, but part of the specification.
Btw, I recently searched for a way to access bytes in a string, and
found string.byte(), but I wondered, why does [] not apply to strings?
Sam