See str.index.