String_ext: parse_indices and add_indices.