Hi all:
does anyone know how to parse a name such as:
"C:\Documents and Settings\razzaz\My Documents\Databases Testfiles\CMS\agentsumd_7012006.csv"
I need the 7012006 (the date part of this file name)..its wierd but the users what to do something with it.
Basically when the program runs it looks at the filename imports it into the table and then runs a report and mtd files based on the date altogether. So I just need to parse the filename and convert the date into a date.
Any suggestions?
I tried to split it but didn't work.
Thanks
Zishan
does anyone know how to parse a name such as:
"C:\Documents and Settings\razzaz\My Documents\Databases Testfiles\CMS\agentsumd_7012006.csv"
I need the 7012006 (the date part of this file name)..its wierd but the users what to do something with it.
Basically when the program runs it looks at the filename imports it into the table and then runs a report and mtd files based on the date altogether. So I just need to parse the filename and convert the date into a date.
Any suggestions?
I tried to split it but didn't work.
Thanks
Zishan