Replacing Whitespace

"string".replaceAll("\\s", "")