From: Guillaume Loader Date: 2009-02-19T10:56:07+09:00 Subject: Re: Dynamic string (depending on a variable) I'm sorry for my english :( Thanks for correcting! But still it doesn't work : sentence = "Your ticket expired #{nb_of_days + ' days ago' if nb_of_days > 0}#{'today' if nb_of_days==0}" Any suggestions? Thanks! -- Posted via http://www.ruby-forum.com/.