Subject: Re: Split variables
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 14 Nov 2000 15:23:59 GMT
|
> I've got a variable that contains following string:
> 123,abc,456,def,
if you know you want to split on 3's then you can use
substring($var,1,3)
substring($var,4,6)
etc,
otherwise you need to repeatedly use substring-before() and
substring-after to split things up on the commas.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|