Template:Str rep/doc

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

用法

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

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

範例

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

參見

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