jfreak53
07-28-2009, 03:10 PM
I have this list that is being passed to a PHP page from a java program, the list looks like this:
file1.jpg,file2.jpg,file3.jpg,etc
What I want to do is go through that list and find files in the list that have illegal characters in their names, like spaces and others, and rename the files after being changed to characters to something like "_". Could I have some help on this please? I kind of figure it would have to be converted into an array, then sorted or something of the sort.
Thanks in advance.
file1.jpg,file2.jpg,file3.jpg,etc
What I want to do is go through that list and find files in the list that have illegal characters in their names, like spaces and others, and rename the files after being changed to characters to something like "_". Could I have some help on this please? I kind of figure it would have to be converted into an array, then sorted or something of the sort.
Thanks in advance.