by Mark C
Subroutine to split a file path into constituent parts.
Pass path to split in var "spath"
sdir - directory,no trailing "/"(unless input path is /file.ext).
sname - complete file name with any extension.
sbase - base name (sname minus extension).
sext - extension if any.
Example code included. Requires Automate 1.1.12 or later.
Reviews and ratings can be submitted in the app.