ComonFunctions.ListFiles() returns a string containing a comma separated list of filenames.
On Windows filenames can contain commas, so when you split the returned list on commas the filename that contains a comma gets split into two (or more) pieces.
This function should really use a different separator that is not a valid filename character (like a semi-colon), or we need a version of the function that returns an array similar to ListSubFolders(String FolderName, Boolean blnArr)
ComonFunctions.ListFiles() returns a string containing a comma separated list of filenames. On Windows filenames can contain commas, so when you split the returned list on commas the filename that contains a comma gets split into two (or more) pieces.
This function should really use a different separator that is not a valid filename character (like a semi-colon), or we need a version of the function that returns an array similar to ListSubFolders(String FolderName, Boolean blnArr)