Template:Str rep
Jump to navigation
Jump to search
{{{1}}}
Uses Lua: |
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)
|
The above documentation is transcluded from Template:Str rep/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |