Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

remove spaces after a comma

807598Jun 24 2006 — edited Jun 24 2006
Hi,

I have a string that goes like this "abc, abc def, abcd,abc"

How do I specify that I want to remove only the space (if there is 1) after the comma and not the one in between "abc def"?

Thanks....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 22 2006
Added on Jun 24 2006
7 comments
360 views