Skabelon:Replace

Fra Wikipedia, den frie encyklopædi
Spring til navigation Spring til søgning

Skabelon:Safesubst

Documentation icon Skabelondokumentation[vis] [redigér] [historik] [opfrisk]

Indholdsfortegnelse

Usage[redigér wikikode]

{{replace|string|target|replacement|count=n}}

Returns string with the first n occurrences of target replaced with replacement. Omitting count will replace all occurrences. Space counts as a character if placed in any of the first three parameters.

Examples[redigér wikikode]

Space[redigér wikikode]

See also[redigér wikikode]

  • {{str rep}}, which replaces only the first occurrence of a string.