Fyrimynd:Str rep/doc

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

Nýtsla[rætta wikitekst]

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

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

Dømi[rætta wikitekst]

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

Sí eisini[rætta wikitekst]

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