Returns the path segments as an array
path to get folders from
the path segments
getListOfFolderNames('\\'); // []getListOfFolderNames(''); // []getListOfFolderNames('\\hello'); // ['hello']getListOfFolderNames('\\hello\\world'); // ['hello', 'world']getListOfFolderNames('\\hello\\world\\'); // ['hello', 'world'] Copy
getListOfFolderNames('\\'); // []getListOfFolderNames(''); // []getListOfFolderNames('\\hello'); // ['hello']getListOfFolderNames('\\hello\\world'); // ['hello', 'world']getListOfFolderNames('\\hello\\world\\'); // ['hello', 'world']
Returns the path segments as an array