View source for Module:String
Appearance
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
--[[
This module is intended to provide access to basic string functions.
Most of the functions provided here can be invoked with named parameters,
unnamed parameters, or a mixture. If named parameters are used, Mediawiki will
automatically remove any leading or trailing whitespace from the parameter.
Depending on the intended use, it may be advantageous to either preserve or
remove such whitespace.
Global options
ignore_errors: If set to 'true' or 1, any error condition will result in
an empty string being returned rather than an error message.
error_category: If an error occurs, specifies the name of a category to
include with the error message. The default category is
[Category:Errors reported by Module String].
no_category: If set to 'true' or 1, no category will be added if an error
is generated.
Unit tests for this module are available at Module:String/tests.
000
1:0
Templates used on this page:
- Template:Dir (view source)
- Template:Documentation (view source)
- Template:Documentation/en (view source)
- Template:Inline-code (view source)
- Template:IsDocSubpage (view source)
- Template:Languages (view source)
- Template:Languages/Lang (view source)
- Template:Ll (view source)
- Template:Localized link (view source)
- Template:Localized link/en (view source)
- Template:Module other (view source)
- Template:Module rating (view source)
- Template:Module rating/en (view source)
- Template:Nmbox (view source)
- Template:Nmbox/styles.css (view source)
- Template:Ombox (view source)
- Template:Pagelang (view source)
- Template:Phpi (view source)
- Template:Sandbox other (view source)
- Template:Shared Template Warning (view source)
- Template:Tmpl (view source)
- Template:Translatable (view source)
- Template:Yesno (view source)
- Module:Arguments (view source)
- Module:Documentation (view source)
- Module:Documentation/config (view source)
- Module:Documentation/i18n (view source)
- Module:Documentation/styles.css (view source)
- Module:Message box (view source)
- Module:Message box/configuration (view source)
- Module:Message box/ombox.css (view source)
- Module:String (view source)
- Module:String/doc (view source)
- Module:String/doc/en (view source)
- Module:TNT (view source)
- Module:Template translation (view source)
- Module:Tmpl (view source)
- Module:Yesno (view source)
Return to Module:String.