Yes thank you, I realized that that character was 13 not 10.10 is for 
enter key.That's what it hasn't been removed. Thanks anyway for this a = 
a.gsub(/\s/,'')code.

RAJ

-- 
Posted via http://www.ruby-forum.com/.