最佳答案
我希望找到字符串中字符的位置。
说: string = "the2quickbrownfoxeswere2tired"
我希望函数返回 4和 24—— string中 2的字符位置。