Implement string indexers

fixes #8062