I have a string that sometimes contains spaces and the number of spaces varies. I know how to do this in Perl, but not in Java.
An example of the data is;
800,563751,L6441608-013 000039
120,563751,L557160-166 000044
There are only 3 values; company, vendor, invoice
I need to remove the spaces.
Is there an easy way to do this?
An example of the data is;
800,563751,L6441608-013 000039
120,563751,L557160-166 000044
There are only 3 values; company, vendor, invoice
I need to remove the spaces.
Is there an easy way to do this?