Template:Replace/doc

Revision as of 14:51, 30 January 2021 by imported>Fire (ページの作成:「{{Documentation subpage}} {{二次利用|ja}} {{Lua|Module:String}} <!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE END OF THIS PAGE----> === 構文 === <code>{{((}}re…」)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

構文

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

使用例

  • {{replace |One two two three two four twotwo five |two |NINE}} → One NINE NINE three NINE four NINENINE five
  • {{replace |One two two three two four twotwo five |two |NINE |count=2}} → One NINE NINE three two four twotwo five