要注意的是在Python 的字串物件 str 是 immutable 不可變的,字串中的字元是無法單獨更改 ... 其中 haystack 代表字串, needle 代表比對的子字串。
確定! 回上一頁