We are not sure why you want to use the split method to extract the substrings instead of the stringlist approach we recommended earlier. You will need to test your code to make sure it is robust taking into consideration that you may need to process extreme data. For example, if a message has a file name which contains semicolon (e.g. “test;file.gif”) then your split function will return incorrect result.
We always try to respond a question where possible. It’s often worthwhile posting these type of questions to the appropriate VBScript Forums on the web.