> > > >ths gives me the string with from <@webroot> (ex. >C:\InnetPub\www\sitename\media\filename.ext) whay I need is filename.ext >anyone know how to do this? > >csmith
You're closer than you think. When you have this result, tokenize it using the \ as the separator character and the filename.ext will be the last column in the resulting array. You can then use numcols to find it easily. Then tokenize this item using . as the separator field and you'll end up with an array whose first column is the file name and the second item is the file type. As Always, Gene Wolf ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body