跳转到内容

Template:Str rep/doc

维基百科,自由的百科全书

用法[编辑]

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

在字串<string>中尋找並替換首次出現的某字串<find>為<replacewith>後返回。

範例[编辑]

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

參見[编辑]

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