I need to get the last two digits from a string that is 7 digits in length.and put it in the path for a file(webphoto/thmbphoto/?/filename.jpg)<BR>the last two digits of the filename are the name of the subfolder. ie.1234567.jpg would be found at "webphoto/thmbphoto/67/1234567.jpg"<BR>This is my first asp page, please help.<BR>FYI this is the system that the real estate service of the northwest multiple listing requires so it may come in handy for anyone else that builds sites for real estate agencies.