May I suggest http://www.w3.org/TR/xpath#section-String-Functions

On Friday 01 March 2002 03:05, Alex Speed wrote:
> and the length of the string?
>
> ----- Original Message -----
> From: "Peter Davis" <[EMAIL PROTECTED]>
> To: "Alex Speed" <[EMAIL PROTECTED]>
> Sent: Friday, March 01, 2002 11:00 AM
> Subject: Re: substring method?
>
> > On Friday 01 March 2002 01:30, Alex Speed wrote:
> > > Is it possible to get a substring of a string returned by <xsl:value-of
> > > select="..."/> ?
> >
> > <xsl:value-of select="substring('The string', 2, 8)"/>
> >
> > prints out "he str".
> >
> > --
> > Peter Davis
> > WHERE CAN THE MATTER BE
> > Oh, dear, where can the matter be
> > When it's converted to energy?
> > There is a slight loss of parity.
> > Johnny's so long at the fair.

-- 
Peter Davis
A prig is a fellow who is always making you a present of his opinions.
                -- George Eliot

Reply via email to