RelativePath Function

Returns a path relative to the reference directory (argument 2 or current working directory) of the full path name supplied in argument 1.

Arguments

Number Type Compulsory Default Description
1 string Yes Full path name
2 string No Current directory Reference directory

Returns

Return type: string

See Also