Skip to content

relativepath

string  relativepath(string src, string dest)

Computes the relative path required to get from the src path to the dest path. Examples

examples

  • relativepath("/obj/geo1/box", "/obj/ropnet1/mantra1") - returns ../../ropnet1/mantra1