Module:Ustring/doc: Difference between revisions

Content deleted Content added
Example using mw.ustring.gsub: oops example was ustring.match
mNo edit summary
Line 1:
{{Module rating |release<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/relevant, delete this template call -->}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
This module directly imports all functions from the {{luaref|mw.ustring}} library. Documentation for each function can be found there.
 
The module takes an indefinite number of arguments. All arguments are coerced as number type if possible. If you wish for something to remain a string, you can escape it with <code>\</code>, which in turn can be escaped by itself.
 
You can also wrap results in tags. All non-number indexed arguments will be passed to {{{luaref|frame:extensionTag}}
 
== Usage ==