Convert a string to a space case.