Re: string.byte with empty string
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: string.byte with empty string
- From: Vaughan McAlley <ockegheim@...>
- Date: 2009年1月27日 13:56:34 +1100
> If you're just testing a single character at the start, comparing to
> string.sub(s,1,1) - or s:sub(1,1) - seems like a more obvious route to take.
>
> -Duncan
>
My original intention was to test the string without creating a new
string. Pretty trivial, I know, in the grand scheme of things :-)
Vaughan