Good afternoon
I have a file with rows of text in of the form
xxx/aaaaaaaaa
xxx/bbbbbbbbb
xxx is a directory name and aaaaaaaa is a file. Generally xxx is three characters long but could be longer. I need to be able to extract the directory name and the file name as seperate variables.
Does anyone know how to do this?
Thanks
Alan
I have a file with rows of text in of the form
xxx/aaaaaaaaa
xxx/bbbbbbbbb
xxx is a directory name and aaaaaaaa is a file. Generally xxx is three characters long but could be longer. I need to be able to extract the directory name and the file name as seperate variables.
Does anyone know how to do this?
Thanks
Alan