How can I find all subdirectories names in a given path. For example path name : "c:\pictures\aa\bb\cc\dd\ee"
I need the result = pictures,aa,bb,cc,dd,ee
Path is string = fExtractPath(DeviceAndPathAndFileName,fDirectory)
--SOLUTION 1:--
For all string SubDir of Path separated by "/"
Trace(SubDir)
End
--SOLUTION 2:--
MyArray is array of 0 string
StringToArray(Path,MyArray,"/")
For all element SubDir of MyArray
Trace(SubDir)
End
--SOLUTION 3:--
Use your imagination...