Excellent, Thank you so much. I learn something new everyday from this list.! csmith ----- Original Message ----- From: "Gene Wolf" <[EMAIL PROTECTED]> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]> Sent: Saturday, September 07, 2002 8:28 AM Subject: Re: Witango-Talk: FileUpload JavaScript ?
> > > > > > > > >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 ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body