String

String is the class of all string objects. Strings are stored as sequences of bytes.

Inherits:.

Mixins:,.

Methods
Except as noted, methods that do string comparisons can be made case-insensitive, at least for ASCII letters, by setting $= to a true value. This feature is deprecated in Ruby 1.8, and has been removed from Ruby 1.9. Use  instead.

New in Ruby 1.9
$= no longer makes string comparisons case-insensitive in Ruby 1.9.