by Adash (3 Submissions)
Category: Files/File Controls/Input/Output
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 25th December 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Get the filename without path and extension, in one line of code
fName = Left$(Right$(FileName$, Len(FileName$) - InStrRev(FileName$, "\", -1)), Len(Right$(FileName$, Len(FileName$) - InStrRev(FileName$, "\", -1))) - 4)
No comments have been posted about Get the filename without path and extension, in one line of code. Why not be the first to post a comment about Get the filename without path and extension, in one line of code.