KnowledgeHub
Report question
Question:
Java how to replace 2 or more spaces with single space in string and delete leading and trailing spaces
Reason
Select a reason...
Spam
Rude or offensive
Not an answer
Duplicate
Off-topic
Other
Additional details (optional)
Submit Report