Converts a POSIX path string into an array for processing through other methods.
toArray("/folder/folder2/../file")// returns ["", "folder", "folder2", "..", "file"]// where "" is root Copy
toArray("/folder/folder2/../file")// returns ["", "folder", "folder2", "..", "file"]// where "" is root
Converts a POSIX path string into an array for processing through other methods.