Template:Replace/doc

Usage
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

 * &rarr; One NINE two three two four twotwo five
 * &rarr; One NINE two three two four twotwo five
 * &rarr; foo_bar

Space

 * &rarr; One—two two-three two-four twotwo-five
 * &rarr; One—two two-three two-four twotwo-five