lstrrange returns a subset of a string stored in a list