|
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).
[1] http://lua-users.org/lists/lua-l/2008-04/msg00175.html -- Shmuel