Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help with XSL

Status
Not open for further replies.

bottleabeer

Programmer
Jun 4, 2005
3
US
I need to split a string containing a link to a file on my hard drive in 2: the parh and the file name

The string looks like: C:\AAAAA\BBBBB\...\...\Filename.rar
The depth is variable so I don't know how many '\' I have.

The XML has:
<FileName>C:\AAAAA\BBBBB\...\...\Filename.rar</FileName>

Output:

File Name: Filename.rar
File Location: C:\AAAAA\BBBBB\...\...\

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top