Hi All,
I have been trying to manipulate a string to pull out a specific part of the string, basically I have a set of directorys with the same number of path levels, like below
E:\Books\Fiction\Authors
E:\Books\Crime\Authors
E:\Books\Comedy\Authors
What I need to be able to do is pull out "Fiction","Crime","Authors" etc etc as a string.
"E:\Books" and "\Authors" are always the same.
I have tried using Mid, InStrRev etc, but I cannot get the syntax right to pull out the middle of the string as required.
If anyone could please show me how to do this I would be very grateful, as I am completly stuck.
many thanks
James
I have been trying to manipulate a string to pull out a specific part of the string, basically I have a set of directorys with the same number of path levels, like below
E:\Books\Fiction\Authors
E:\Books\Crime\Authors
E:\Books\Comedy\Authors
What I need to be able to do is pull out "Fiction","Crime","Authors" etc etc as a string.
"E:\Books" and "\Authors" are always the same.
I have tried using Mid, InStrRev etc, but I cannot get the syntax right to pull out the middle of the string as required.
If anyone could please show me how to do this I would be very grateful, as I am completly stuck.
many thanks
James