lua-users home
lua-l archive

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



On Dec 7, 2011 11:46 PM, "startx" <startx@plentyfact.org> wrote:
>
> On Wed, 7 Dec 2011 22:00:27 +0000
> startx <startx@plentyfact.org> wrote:
>
> > hi
> >
> > while i was cleaning some strings ( trimming etc ) before inserting
> > them into a table, i ran into something which suprised me:
> >
>
> OOPS sorry, my fault ( to late today )
> of course i should have retrieved t[1] , not t.s
>
> pls ignore my question about the table ... : (
>
> nevertheless my question about the string being length 0 itself,
> isnt it somehow weired to have a string which is 0 characters long?
>
> startx
>

No, it's not weird. It would only get weird if there was a string of negative length, an "imaginary" string so to say :). And even then it might have its merits.

Cheers,
Eike