Template:Str rep
(Redirected from Template:Str repc)
{{{1}}}
This template uses Lua: |
This template is used on 950+ pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please consider discussing any changes on the talk page before implementing them. |
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. |