Subject: Re: [xsl] string manipulation - retreiving a directory name from a path From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Mon, 23 Feb 2009 13:55:32 +0100 |
I need to extract the string that appears between the first '/' and the second '/' from a string that takes the form of: '/home/dir1/dir2/file.html'.
Can anyone suggest a way to do this, maybe utilising a regular expression, other than substring-before(substring-after($string, '/') '/')
Martin Honnen http://JavaScript.FAQTs.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] string manipulation - retreiv, tom tom | Thread | [xsl] Multi level Grouping using xs, Bafna, Kamlesh |
[xsl] string manipulation - retreiv, tom tom | Date | [xsl] Multi level Grouping using xs, Bafna, Kamlesh |
Month |