This is actually different from trim() in that all whitespace is removed, not just before and after.