Quantcast
Viewing all articles
Browse latest Browse all 27019

Find out the position for third "\"

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

Viewing all articles
Browse latest Browse all 27019

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>