Template:Str rep

From MattWiki
Jump to: navigation, search

{{{1}}}

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

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

Returns <string> with the first occurrence of <find> replaced with <replacewith>.

Example

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

See also

  • {{Replace}} - to replace all occurrences (Lua based)