You can use
a="hello there" b=a[2..-1] p b => "llo there"
a[2..-2]
chops off from the end.
Best regards,
Axel