Hasil o trim diabaikan java

//String objects are immutable.
String output = StringUtils.trimWhitespace(input);
JoPeCaLi