Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java string remove more than one space

String after = before.trim().replaceAll(" +", " ");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #string #remove #space
ADD COMMENT
Topic
Name
8+4 =