This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: the last substring
- From: yan bai <bytj at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 19 Nov 2001 06:24:33 -0800 (PST)
- Subject: RE: [xsl] the last substring
- Reply-to: xsl-list at lists dot mulberrytech dot com
Thank you all, gurus. All the methods you suggested
works. Currently, I used a
"substring-after(substring-after(substring-after('text_string_here',
'.'),'.'),'.')" since it is sure that there are only 3
dots.
Yan
--- Oleg Tkachenko <olegt@multiconn.com> wrote:
> Hello yan bai!
>
> Recursive substring-after() ?
>
> ---
> Oleg Tkachenko,
> Multiconn International, Israel
>
> > -----Original Message-----
> > From: owner-xsl-list@lists.mulberrytech.com
> > [mailto:owner-xsl-list@lists.mulberrytech.com]On
> Behalf Of yan bai
> > Sent: Friday, November 16, 2001 11:29 PM
> > To: xsl-list@lists.mulberrytech.com
> > Subject: [xsl] the last substring
> >
> >
> > I have an element like:
> > <elem>xxxxx.xxxxx.xxxx.1234</elem>
> >
> >
> > I know substring-before() will read the value
> before
> > the first '.'.
> >
> > I wonder how I can read the value after the last
> '.',
> > namely 1234.
> >
> > Thanks.
> >
> > Yan
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Find the one for you at Yahoo! Personals
> > http://personals.yahoo.com
> >
> > XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
> >
>
>
> XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
>
__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list