3 Replies Latest reply on Feb 3, 2007 12:43 PM by Dan Bracuk

    Please Help


      I have been searching but I could not find a solution. What I need to do is search to see if a specific file extension is in a string and then get everything to the left (file name) until the "\"

      String: E:\inetpub\wwwroot\WENS_DEV\inbox\smiltextpartfilename0.txt E:\inetpub\wwwroot\WENS_DEV\inbox\01-26-07_1407.3g2

      I want to search for "3g2" and if it is found, I want to get everything to the left to the \. Therefore it would return 01-26-07_1407

      Any ideas??? Thanks!!!