public final class StringHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
removeExtraSpaces(java.lang.String str)
Removes extra (more than one) whitespace characters from any place of the string.
Examples: " aaa bbb ccc ddd " becomes "aaa bbb ccc ddd" |