Only Bolivian Here Only Bolivian Here - 10 months ago 55
Ruby Question

How can I get a substring from position N to the last char in Ruby 1.8.7?

I'd like to get a substring from a string from position N to the end of the string.

What's the way to do it in RUby?

Answer Source

Just slice the string like: