The function takes a string input and returns the string with all spaces removed.

