From: Mark Toth Date: 2007-12-29T22:47:26+09:00 Subject: String highlighting problem (newbie) I have two questions: 1. I have a string @string = "This is a long string". How can I do to make two words "bold" or "italic" in this string, for example "is" and "long" shoudl be ? 2. I am searching in the mysql database with this code: @results = Product.find(:all, :conditions => [ "name LIKE ?", "%"+@searchstring+"%"]) What if I want to search for many words in different order? I mean if I should searched for example: "string is a long this" in the string above? Thanks, Mark -- Posted via http://www.ruby-forum.com/.