lua-users home
lua-l archive

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

David Burgess wrote:
It seems to me that negative values of string.sub() are inconsistent
with not only the first parameter but also with string.find().

See a somewhat related post [1]. Nowadays I feel fully consistent with how Lua treats indexes (and wouldn't post [1] again).