How to get this substring?
Posted on 2006-06-29
The above is a string which I want to get the "A6.txt" out of it, the substring after it ".ExtractReport.pdf" and the string before it "@BoaFromExtract.boaTest." will always be constant. However, the A6.txt can varies in size as I can have A12312321.txt, B23424.txt ect......
I know this has to do with Substring manipulation and trimming my string but I can not seem to come up with a clean method to do it, please help.
btw I store the orignal string in a String array.