index string by range
oops