dash.file.collapsePath
Collapse . and .. entries in a file path
Syntax
Description
Removes . entries from a file path. Also removes .. entries and associated subfolders. Returns the final file path using url-style file separators (/).
Input Arguments
path
string scalar
A file path containing . and/or .. entries.
Output Arguments
path
string scalar
The file path without . or .. entries.