
The Function Block DIRNAME returns the directory name of a Unix file path.
The input expects a Linux or Unix file path as a string. Here is an example:
/home/antcas/Documents/My Draft.v1.docx
Returns the directory name. This ends without a slash at the end.
From the above example:
/home/antcas/Documents
Warning: If a directory has already been specified, it should be terminated with a dot.