This will remove each "Â" character from the string: x = "3       Jubitz Travel Center               Portland,OR" x.gsub!(/Â/, "")
But you're probably looking to solve your root problem. Looks like a UTF-8 vs. ISO-8859-1 issue. Do a search for "utf-8  as a space" on your favorite search engine, and that should point you in the right direction (hopefully). Hope that helps. orde On Mar 9, 8:58 am, George <george.sand...@gmail.com> wrote: > I'm not sure if this is a Watir or a Ruby question. I'm pulling all > the contents from a select list, and when I display each option, I get > something similar to the following (without the quotes): > > "3       Jubitz Travel > Center               Portland,OR" > > Is there something in Watir that will get rid of the  character? Is > this related to UTF-8? Ultimately, I'm trying to isolate "Jubitz > Travel Center" from the text string. If someone can help, I would be > most grateful! > > Thanks, > > George -- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general