daniel wrote:
> Thanks for your input. But I was looking for something like an inverse
> of sprintf (where you can extract variables from a string according to
> a given format, instead of gluing a string together from variables).
> Does anybody know if something like this exists in ruby?
>   
The opposite of printf is scanf: 
http://hypermetrics.com/rubyhacker/code/scanf/scanf-rdoc/files/EXAMPLES.html

-- 
RMagick OS X Installer [http://rubyforge.org/projects/rmagick/]
RMagick Hints & Tips [http://rubyforge.org/forum/forum.php?forum_id=1618]
RMagick Installation FAQ [http://rmagick.rubyforge.org/install-faq.html]