script to extract filename/extention
Does anyone have or know of a script to extract the filename and file extention from a "file field" form object ? That is, when you select a file from the browse button likeC:Inetpub/wwwroot/vehicles/97gst5.jpg
the script simply returns 97gst5.jpg. I know it can probably be done easily with perl but I am not good with perl string functions.
If it can easily be done with ChiliASP that would be better yet.
thanks