xsl-list
[Top] [All Lists]

Re: Re: xsl--accessing a speciic part of a string

2003-10-02 07:26:22

  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