Implement char_range()
to respect string indices
#486
Merged
char_range()
to respect string indices
#486