Archive: Another question regarding string manipulation


Another question regarding string manipulation
Suppose I have a string like,
"C:\dir1\dir2\dir3\"
Now I want to get a string "C:\dir1\dir2". How can I do that? Thanks.


GetParent