Jump to content

Fyrimynd:Str rep/doc

Frá Wikipedia, hin frælsa alfrøðin

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

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

  • {{str rep|Dogs chase cats|chase|love}} = Dogs love cats

Sí eisini

[rætta wikitekst]
  • {{Replace}} - to replace all occurrences (Lua based)