West Wind Application Settings for .NET |
wwUtils.GetRelativePath
|
Returns a relative path string from a full path.
Syntax: |
public static string GetRelativePath( string FullPath, string BasePath ); |
| Return: | Lower case string of the relative path. If path is a directory it's returned without a backslash at the end. Examples of returned values: .\test.txt, ..\test.txt, ..\..\..\test.txt, ., .. |
| Parameters: |
FullPath The path to convert. Can be either a file or a directory BasePath
|