Hi,

Ok, I have this string:

VB Code:
  1. Dim MyString As String
  2. MyString = "C:\Project\code.cpp"

I need to know how to remove the pathway in the string and leave just the filename.

If anyone could help I'd appreciate it.