Remove all whitespace inside string Example: your name => yourname
String removeAllWhitespace(String value) { return value.replaceAll(' ', ''); }