I'm using IE. I tried using gsub!(/Â/, ""), but I couldn't remove the
remaining spaces. It took a long time, but I think I figured it out
using this:
x = "3       Jubitz Travel Center              Â
Portland,OR"
b = x.gsub(x[/(\d+)(\b[^0-9A-Za-z]{1,}\b)/], '') # gets rid of the
beginning number/funky chars
puts b.gsub(b[/(\b[^0-9A-Za-z]{1,}\b)(\w+)(,..)\Z/], '') # gets rid of
the second set of funky chars and city/state
On Mar 9, 3:36 pm, Ethan <[email protected]> wrote:
> Is this in IE or firefox?
--
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general