slice « String « Ruby





1.Slice a string
2.String slice and index
3.Negative index in slice