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