First page Back Continue Last page Overview Graphics
Strings
Ruby has a full-featured string class with numerous operations.
Like numbers, string literals are also objects and can have methods invoked on them directly.
Binary data or encoded text stored in strings can converted using unpack.
Note: [ ] operator returns Integer (not String).