On Wed, Nov 19, 2014 at 05:24:22PM +0000, Ralph Corderoy wrote:
> Hi Steffen,
> 
> > > >     Replace the string named xx with the substring defined by
> > > >     the indices n1 and n2.
> The full documentation of .substring wasn't originally given.
> 
>     -- Request: .substring str n1 [n2]
>         Replace the string named STR with the substring defined by the
>         indices N1 and N2.  The first character in the string has index 0.
>         If N2 is omitted, it is taken to be equal to the string's length.

shouldn't that be "it is taken to be equal to the string's length - 1" ?
(As we count from zero.)

  ulrich

Reply via email to