Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3042

CString replace? index of?

$
0
0
Is there a function that can take out part of the string such as,


C:/Users

I want to take out Users.

I need the function to search for the first "/" and take out the last dir name

C:/windows would be c:
C:/users/bla would be c/users

Im programming in visual studio 6.0 MFC

Viewing all articles
Browse latest Browse all 3042

Trending Articles