isnoend2001
asked on
get just the last part of a file name after the last "\"
FileName with path:
C:\Documents and Settings\All Users.WINDOWS\Documents\Re al20CardKe no\KingKen o\SavedKin gKenoGames \9-spot bet 1.50.cle
how can i extract just the 9-spot bet 1.50.cle ?
C:\Documents and Settings\All Users.WINDOWS\Documents\Re
how can i extract just the 9-spot bet 1.50.cle ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks again.
Learned something unrelated.
seems Thunderbird does not show new mail icon on taskbar if inbox is not open. At least i think is why i am not getting notifications on the task bar
Learned something unrelated.
seems Thunderbird does not show new mail icon on taskbar if inbox is not open. At least i think is why i am not getting notifications on the task bar
ASKER
Seems vb gives an error
Dim strParts As String
strParts = Split(myfile, "\")
Debug.Print strParts(UBound(strParts)) <-- expected array
Dim strParts As String
strParts = Split(myfile, "\")
Debug.Print strParts(UBound(strParts))
Sorry, can't help you with Thunderbird but once again I'm happy I was able to answer your question.
Sorry, can't help you with Thunderbird but once again I'm happy I was able to answer your question.Please see my second post.
ASKER
gottacha missed the
Dim strParts() As String
thanks
Dim strParts() As String
thanks
Dim strParts As String
to
Dim strParts() As String
and
Split(?C:\Documents and Settings\All Users.WINDOWS\Documents\Re
to
Split("C:\Documents and Settings\All Users.WINDOWS\Documents\Re
I apologize for the mistakes.