lua-users home
lua-l archive

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

> The reason it works is that string.find is returning a
> number,

Sorry! -- I meant string.len here.  Anyway, the main point
is to do it this way:

> string.find(a, '.', 1, true)

because the other way will confuse someone reading your