From: Joel Pearson Date: 2013-03-18T20:13:45+09:00 Subject: Re: question on watir Inspect the result you get from "SCREEN". You may have different characters in there. By the way, if you really feel the urge to remove all whitespace, try this: a = a.gsub(/\s/,'') -- Posted via http://www.ruby-forum.com/.