Click to See Complete Forum and Search --> : change line


gerjan
06-23-2003, 02:53 AM
I've got the following value (from an uploaded file), created by =File.Path :

D:\web\users\doodoo\schrijf\doodoo\welkom2.gif

Now I need just the name from the uploaded file (welkom2.gif).

So the question short:

How do I change
D:\web\users\doodoo\schrijf\doodoo\welkom2.gif
in
welkom2.gif

Tnx,
Gerjan

gerjan
06-23-2003, 07:51 AM
Tnx Dave,

BTW, do you know an online tutorial to edit strings like this?
I've learned ASP from several books, but I never saw somwhere how to edit variables.

gerjan
06-23-2003, 08:09 AM
Already found something.
If other form users don't know how to edit this, take a look here:

http://www.asptutorial.info/sscript/manipulate_string.asp

tnx anyway