[DllImport("shlwapi.dll")]
public static extern void PathStripPath([In,Out] StringBuilder pszPath);
Declare Function PathStripPath Lib "shlwapi.dll" (TODO) As TODO
None.
None.
Please add some!
StringBuilder str = new StringBuilder(@"c:\dir1\file.txt");
PathStripPath(str);
// Result: str.ToString() == "file.txt"
Do you know one? Please contribute it!