Sorry, I meant

your_string.gsub(' ', '')

Stefano

Alle luned 28 maggio 2007, Stefano Crocco ha scritto:
> gsub( ' ', '')
>
> Stefano
>
> Alle luned 28 maggio 2007, jochen kaechelin ha scritto:
> > 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