आकृति:Str rep

मैथिली विकिपिडियासँ, एक मुक्त विश्वकोश
Jump to navigation Jump to search

{{{1}}}

Template documentation[view] [edit] [history] [purge]

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)