开发者社区 问答 正文

str.replace(old, new[, max])参数max代表什么意思?

str.replace(old, new[, max])参数max代表什么意思?

展开
收起
游客ydhxr2xydmgpo 2021-11-04 19:40:58 371 分享 版权
1 条回答
写回答
取消 提交回答
  • 可选字符串, 替换不超过 max 次

    2021-11-04 19:41:20
    赞同 展开评论
问答地址: