bottleabeer
Programmer
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.
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.