在Python 中,你可以使用index() 和rindex() 函數,在字串中查找子字串的位置。 例如,如果你想在字串中查找“is” 這個子字串,就可以使用 text.index("is") ...
確定! 回上一頁