"  bla @ bla.de ".gsub!(' ','')


On Monday 28 May 2007 14:46:26 jochen kaechelin wrote:
> I want to remove all whitespaces in a string.
> I know strip to remove whitespaces at the beginning and the end
> of the string.
>
> example:
>
> "  bla   @   bla. de      "
>
> should become
>
> "bla / bla.de"
>
> How can I achieve this?
>
> Thanx