模板:Str rep

被永久保护的模板
维基百科,自由的百科全书

{{{1}}}

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

用法

{{Str rep|<string>|<find>|<replacewith>}}

在字串<string>中寻找并替换首次出现的某字串<find>为<replacewith>后返回。

范例

  • {{str rep|Dogs chase cats|chase|love}} = Dogs love cats

参见

  • {{Replace}} - 全部替换某字串