class String

Define the byte-operators on a string if they're not defined (Ruby 1.8)