Template:Str rep

From SeptemWiki
Revision as of 17:01, 9 April 2016 by Shawn (talk | contribs) (Created page with "{{#invoke:String|replace|source={{{1}}}|{{{2}}}|{{{3}}}|1}}<noinclude> {{Documentation}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Script error: No such module "String".

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


{{Str rep|haystack|needle|pin}}

Returns haystack with the first occurrence of needle replaced with pin.


  • {{str rep|Dogs chase cats|chase|love}} = Script error: No such module "String".

See also

  • [[Template:Replace|Template:Tn]] - to replace all occurrences (Lua based)

Pages that use this Template
Templates that use this Template