我有一个值为"Program"的字符串,我想在该字符串中找到字符'g'的索引.
string indexing character rust
character ×1
indexing ×1
rust ×1
string ×1