The function f(x) removes all spaces from a given string.

