Predloga:Str rep

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search

{{{1}}}

Documentation icon Dokumentacija predloge[predogled] [uredi] [zgodovina] [osveži]

Usage[uredi kodo]

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

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

Example[uredi kodo]

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

See also[uredi kodo]

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