Fyrimynd:Str rep

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

{{{1}}}

Documentation icon Skjalfesting til fyrimyndina[vís] [rætta] [søga] [dagfør]

Nýtsla

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

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

Dømi

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

Sí eisini

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