>>>>> "A" == Ara T Howard <Ara.T.Howard / noaa.gov> writes:

A>    if s.strip.empty?
A>      # the string is whitespace only

svg% ruby -e 'a = " \000\000"; p "OK" if a.strip.empty?'
"OK"
svg% 

svg% ruby -e 'a = " \000\000 "; p "OK" if a.strip.empty?'
svg% 


Guy Decoux