Takes a current path and a new path and returns the new path relative to the old one. If the current path is /foo/bar and the new path is ../cheese the function will return /foo/cheese.

Namespace: BaseLib.Util
Assembly: BaseLib (in BaseLib.dll) Version: 0.5.0.0

Syntax

C#
public static string RelativeLibPath(
	string currentPath,
	string path
)

Parameters

currentPath
Type: System..::..String
A String. The current path.
path
Type: System..::..String
A String. The new path.

Return Value

A String. The new relative path.

See Also