Alex -
The function you want is string-length('The string'), which would return the
value "10" here.
- Gene Roske
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.
> >