[Standards] Off-by-one error in XEP-372 "References"
Andrew Nenakhov
andrew.nenakhov at redsolution.com
Sat Dec 5 01:24:32 UTC 2020
сб, 5 дек. 2020 г. в 05:12, Sam Whited <sam at samwhited.com>:
>
>
>
> On Fri, Dec 4, 2020, at 23:34, Andrew Nenakhov wrote:
> > 4. Start = first character (inclusive) and length = length of a
> > substring.
>
> This is the same as "1. Start = first character (inclusive), end = last
> character (exclusive);"
No.
string: abcdefgh
4. start = 3, length = 2. Result: de
With 1, it would be:
1. start = 3, end = 5. Result: de
--
Andrew Nenakhov
CEO, redsolution, OÜ
https://redsolution.com
More information about the Standards
mailing list