On Feb 6, 9:37=A0am, Julian Leviston <jul... / coretech.net.au> wrote:
> Can't you use squeeze?

Best idea yet. Might as well use a built-in, rather than reinventing
one.

a.squeeze(" ")

Thanks for the reminder. I should review String#instance_methods every
once in a while. There's some good stuff there.