String evaluation from right problem
I spoke to soon...
I worked if the was only one subdirectory in the path...
d:\subdir1\test.exe retuned "test.exe"...
But if there is more than one subdir. than...
d:\subdir1\subdir2\test.exe returns "subdir2\test.exe"
Here is the code:
AttachTemp= (Request.QueryString("FAQAttachment"))
SlashPos = InStrRev (AttachTemp, "\")
AttachVar = right(AttachTemp,SlashPos)
Thanx in advance
MHarrison