From: Yukihiro Matsumoto Date: 2010-12-15T15:38:01+09:00 Subject: Re: String.populate(data) for sprintf? Hi, In message "Re: String.populate(data) for sprintf?" on Wed, 15 Dec 2010 14:49:43 +0900, redstun writes: |I mean to have String.populate as an instance method | |i.e. |fmt_str = 'aligned numbers: %6d %6d" |result = fmt_str.populate(1, 2) fmt_str = "aligned numbers: %6d %6d" result = fmt_str % [1, 2] matz.