- From: Kay, Michael <Michael.Kay@softwareag.com>
- Date: Fri, 22 Mar 2002 12:46:30 +0100
- To: "'Svgdeveloper@aol.com'" <Svgdeveloper@aol.com>, www-xpath-comments@w3.org
No. Following the detailed specification, substring("12345", 0, 3) selects all characters whose position is >= 0 and < 3. The position of the "3" is 3, which is not <3, therefore it is not included in the result. Michael Kay > -----Original Message----- > From: Svgdeveloper@aol.com [mailto:Svgdeveloper@aol.com] > Sent: 21 March 2002 21:26 > To: www-xpath-comments@w3.org > Subject: Erratum substring() function in XPath 1.0? > > > It seems to me that the following bullet point for the > substring() function > is incorrect: > > substring("12345", 0, 3) returns "12" > > Shouldn't it read > substring("12345", 0, 3) returns "123"? > > Andrew Watt >
Received on Friday, 22 March 2002 06:46:36 UTC