Range indexes are negative
#!/usr/bin/env ruby thoreau = "If a man does not keep pace with his companions, perhaps it is because he hears a different drummer." puts thoreau[-8..-2] # => "drummer"