Zum Inhalt springen

Vorlage:Str rep/Doku

Aus Wikivoyage

Usage

[Bearbeiten]

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

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

Example

[Bearbeiten]
  • {{str rep|Dogs chase cats|chase|love}} = Dogs love cats

See also

[Bearbeiten]
  • {{Replace}} - to replace all occurrences. (Lua based)

Siehe auch

[Bearbeiten]