RE: [xsl] Re: xsl--accessing a speciic part of a string

Subject: RE: [xsl] Re: xsl--accessing a speciic part of a string
From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
Date: Mon, 6 Oct 2003 16:05:34 +0200
Or taking off CP with agumented numbers like CP1, CP1+1=CP2???

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx] 
Sent: 02 October 2003 16:26
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Re: xsl--accessing a speciic part of a string



  Is it possible just to take off the last 4 characters from the string 
  instead as it may be "- CP1" or "- CP2" OR "- CP3"?

"- CP1" appears to be five characters, but 4 would be:

substring(.,1,string-length(.)-4)

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread