Parent(
path:path,
[int:levels]
)
→ path
Returns the parent of the specified path (i.e. the input path with the final component removed).
The optional levels argument lets you go up more than one level.
On error, an empty string will be returned.
Example:
Output(Parent("C:\one\two\file.jpg")); --> C:\one\two