Returns a relative path based on a base path.
Examples: <
- > <
- > filename.txt <
- > subDir\filename.txt <
- > ..\filename.txt <
- > ....\filename.txt <
public static string GetRelativePath(string fullPath, string basePath)
Return Value
string
Parameters
fullPath
The full path from which to generate a relative path
basePath
The base path based on which the relative path is based on
See also:
Class Utilities© West Wind Technologies, 2018 • Updated: 06/07/18
Comment or report problem with topic