打开/关闭菜单
打开/关闭个人菜单
未登录
如果您进行任何编辑,您的IP地址会公开展示。

Template:Replace/doc

模板页面
Wr讨论 | 贡献2023年8月24日 (四) 00:08的版本 (导入1个版本:​Imported from Star Citizen Wiki)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
Usage

{{replace |<string >|<target >|<replacement>|<count>}}

Returns string with the first n occurrences of target replaced with replacement. Omitting count will replace all occurrences.

Examples
  • {{replace |One two two three two four twotwo five |two |NINE}} → One NINE NINE three NINE four NINENINE five
  • {{replace |One two two three two four twotwo five |two |NINE |count=2}} → One NINE NINE three two four twotwo five


我们提供服务需要使用Cookie。您使用我们的服务,即表示您同意我们使用Cookie。