Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ComonFunctions.listFiles() issue if filenames contain commas #42

Open
PlayfulGuy opened this issue Aug 21, 2022 · 0 comments
Open

ComonFunctions.listFiles() issue if filenames contain commas #42

PlayfulGuy opened this issue Aug 21, 2022 · 0 comments

Comments

@PlayfulGuy
Copy link

PlayfulGuy commented Aug 21, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant