From: Ne Scripter Date: 2009-09-04T23:42:19+09:00 Subject: Re: Regular expressions - string substitution Thanks all. I completely forgot about that. It always the simple things Marc Heiler wrote: > "000000100".to_i.to_s # => 100 -- Posted via http://www.ruby-forum.com/.