From SeptemWiki
Jump to navigation Jump to search

Script error: No such module "String".

Template info.png Documentation for Template:Replace[view] [edit] [history]



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


  • {{replace|One two two three two four twotwo five|two|NINE}}Script error: No such module "String".
  • {{replace|One two two three two four twotwo five|two|NINE|count=2}}Script error: No such module "String".


  • {{replace|One-two two-three two-four twotwo-five|-|—}}Script error: No such module "String".
  • {{replace|One-two two-three two-four twotwo-five|- |—}}Script error: No such module "String".

See also

  • Template:Tl, which replaces only the first occurrence of a string.

Template:String-handling templates

Pages that use this Template
Templates that use this Template