lua-users home
lua-l archive

Re: string.sub for suffix not usable with varying length (including zero)

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


A quick summary of the discution so far: all proposals for a 0 index
have quirks, except raising an error.
We chose one particular quirk a long time ago, and it did not seem to
bother anyone until a few days ago. We see no good reason to change it
to a different quirk. Raising an error seems a reasonable option, but
it may not be worth the incompatibility.
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /