Skip to main content

relative_url_path

FunctionSource

v_1: str = relative_url_path(path_from: str, path_to: str)

Solve the relative path.

Arguments

Requires

NameTypeRequired
Description
path_fromstrAn anchor path. The final path is solved starting from this path.
path_tostrThe target path.

Returns

NameType
Description
v_1strThe relative path from path_from to to_ppath_toath, always using forward slashes for URL compatibility.