Jump to content

Help talk:Switch parser function

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by John of Reading (talk | contribs) at 06:48, 15 May 2018 ({{Wikipedia Help Project|class=NA|importance=low}}). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconWikipedia Help Low‑importance
WikiProject iconThis page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the Help Menu or Help Directory. Or ask for help on your talk page and a volunteer will visit you there.
LowThis page has been rated as Low-importance on the project's importance scale.

Question

Is there a way to just switch out certain characters in the string? For example, I want to change all hyphens to spaces. How can I do this?  Nixinova  T  C  06:02, 15 May 2018 (UTC)[reply]

@Nixinova: This "switch" parser function won't help you with that, but take a look at Template:Replace -- John of Reading (talk) 06:47, 15 May 2018 (UTC)[reply]