🌈 搜索
📅  最后修改于: 2022-03-11 14:46:53.381000             🧑  作者: Mango
>>> myString = 'Position of a character' >>> myString.find('s') 2 >>> myString.find('x') -1