bbmod_path_get_relative

function

bbmod_path_get_relative(_path[, _start])

Description

Retrieves a relative version of a path.

Arguments

Name Type Description
_path String The path to get a relative version of. Must be absolute!
_start String Which path should it be relative to. Must be absolute! Defaults to the working directory.

Returns

String The relative path.

Note

If given paths are not on the same drive then an unmodified path is returned!

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on December 31, 2022 using GMDoc.