In general I prefer to use a regular expression for this sort of job, because invariably there will be more than one space and/or a tab stuck in there somewhere.
Thank you. That is the first thing I tried but I was looking at the result incorrectly. I didn't know about Preferences->Variables. I used a "Display text" actions which always showed it as: