Signature
String expand_path(String path, String relative_to_path = "")
Parameters
path : path to expand
relative_to_path : base directory a relative
path is resolved againstreturn value : the expanded path
Expands a path: a relative path is resolved against relative_to_path (or the current unit's directory when that is empty), producing a normalized path you can hand to the file APIs.
Example
print(expand_path("sub/page.uce", "/var/www/site"), "\n");
Output
/var/www/site/sub/page.uce