Example:
File Paths: | Output:
-----------------------------
C:\Abc\foo.txt | true
C:\Abc\foo\bar.txt | true
C:\nodir.txt | false
E:\nodir.txt | false
C:\Abc\ | true
C:\Abc\def | true
How to find if given path contains at least one folder (excluding the main drive folder like C:\)
in a given path.
Currently I am thinking to see if I can split by \
and see it contains multiple elements. Is there any elegant solution for this?