From: Joonas Lindholm Date: 2009-08-27T01:37:53+09:00 Subject: spaces in strings I have a string like '1 334.64' and I need to remove the space so that it becomes '1334.64'. I have I think ruby 1.6 in home computer where worked gsub!(/\s/, '') but in other computer I have ruby 1.7 and it doesn't seem to work. -- Posted via http://www.ruby-forum.com/.