Jump to content

Template:Str rep/doc

From SeptemWiki


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}} = Script error: No such module "String".

See also

  • [[Template:Replace|Template:Tn]] - to replace all occurrences (Lua based)