Pojdi na vsebino

Predloga:Str rep/dok

Iz Wikipedije, proste enciklopedije

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)