Re: string.sub for suffix not usable with varying length (including zero)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: string.sub for suffix not usable with varying length (including zero)
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2013年2月11日 11:04:29 -0200
> Lua 5.2.1 has another personal choice, probably dictated by some
> application in which making it mean the same as str:sub(1) was the
> least among evils.
For the record: Lua 5.1 has the same choice, as does Lua 5.0. Lua 5.2
simply wrote it to the manual.
-- Roberto