Add support for selecting a range from a slice or a string e.g. s[3:5].
Add support for selecting a range from a slice or a string e.g. s[3:5].