Template:Str rep
Jump to navigation
Jump to search
{{{1}}}
This template uses Lua: |
This template is used on 419,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing changes on the talk page before implementing them. |
Usage[edit source]
{{Str rep|<string>|<find>|<replacewith>}}
Returns <string> with the first occurrence of <find> replaced with <replacewith>.
Example[edit source]
{{str rep|Dogs chase cats. Cats chase mice|chase|love}}
= Dogs love cats. Cats chase mice
See also[edit source]
- {{Replace}} - to replace all occurrences (Lua based)
External links[edit source]
- Template:Str rep at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
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. |