Small tweak to string helper mapStrToCoords(), to strip spaces.