Ùsaid - Usage

deasaich

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

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

Eisimpleir - Example

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

Faic cuideachd - Also see

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