XSL Sting Manipulation, splitting strings

admin

Administrator
Staff member
Hi,
I am trying to find the file extension from a string.
e.g. "test.doc" or "test.html" but the string is going to have several . in it as it will be from a URL. Is there a simple/clean way of separating the sting and extracting the file extension?
I was thinking of splitting the string by instance of . and then selecting the last section.
Any ideas on this?
Thanks for the help,
Matt
 
Back
Top