Replace space with given string