From: Karthic Ganesan Date: 2008-07-29T23:04:53+09:00 Subject: text comparision hi, i need to check the text "Test" from a dropdown list that contains more than 100 char. i have taken the text from dropdown list and store it in a variable a.(i dont know is it correct or not) that is if i execute "puts a" statement then it shows "abcd efg hij Test klmno pqrs tuvw xyz" . now i need to check the text "Test" from variable a. i have tried, b="Test" if a== %b% and is no luck. could anybody know how to perform this task? -- Posted via http://www.ruby-forum.com/.