FileNameDepth
FileNameDepth["name"] gives the number of path elements in the file name "file".
Please visit the official Wolfram Language Reference for more details and examples on core symbols.
FileNameDepth["name"] gives the number of path elements in the file name "file".
Please visit the official Wolfram Language Reference for more details and examples on core symbols.