📜  python 替换第一 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:21.758000             🧑  作者: Mango

代码示例2
text.replace("text", "new", count)
# count is the number of instances you want to replace