I need to find out the position for third "\".
For example, some files' location like c:\order\year\2012\201201.txt, c:\order\year\2012\201203.txt...
How to find out third "\" position from left?
For the sample above, the position is 14.
But the file path may be various so the position may change.
For another sample, the third "\" position for c:\claimdetail\year\2012\201201.txt is 20
For example, some files' location like c:\order\year\2012\201201.txt, c:\order\year\2012\201203.txt...
How to find out third "\" position from left?
For the sample above, the position is 14.
But the file path may be various so the position may change.
For another sample, the third "\" position for c:\claimdetail\year\2012\201201.txt is 20