From: Markus Schirp Date: 2007-05-28T21:50:44+09:00 Subject: Re: remove all whitespaces in a string " 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