Template:Str rep: Difference between revisions

From EUSwiki
Jump to navigation Jump to search
m 1 revision imported
 
(No difference)

Latest revision as of 00:21, 9 February 2019

{{{1}}}

Lua error in package.lua at line 80: module 'Module:Transclusion_count/data/S' not found.

Usage

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

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

Example

  • {{str rep|Dogs chase cats. Cats chase mice|chase|love}} = Dogs love cats. Cats chase mice

See also

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