Module:Text/doc

  – Module containing methods for the manipulation of text, wikimarkup and some HTML.

Anchor

methods text.

The string if meet the conditions the condition is matched or some result is successfully found, strings of at least one character are returned.


 * char
 * Creates a string from a list of character codes.
 * character codes
 * Number of repetitions
 * First element;elements are ignored.
 * 2 3 4 5 6 …
 * Further list element
 * table of the apply
 * Separator
 * optional will not applied to each element; must contain
 * whether the input string contains
 * there are CJK characters
 * wikimarkup (except templates): comments, tags, bold, italic, nbsp
 * some content, string character that would normally be Latin text.
 * there is a Latin string.
 * some content, string character that would normally be Latin text.
 * there is a Latin string.


 * iQuote
 * content if passed is a single character, and that character is a iquote, such as.
 * for multiple characters, or if the character passed a iquote.

input separator;original
 * listToText
 * list analogously
 * The separated word appear
 * Optiona for
 * – will first be formatted with string; see here construc string. The string must contain   – input separator at the index

Use in another Lua module
All of the above functions can be called from other Lua modules. Use ; the below code checks for errors loading it: You may then call:
 * Text.char( apply, again, accept )
 * Text.concatParams( args, separator, format )
 * Text.containsCJK( s )
 * Text.getPlain( s )
 * Text.isLatinRange( s )
 * Text.isQuote( c )
 * Text.listToText( table, format )
 * Text.quote( s, lang, mode )
 * Text.quoteUnquoted( s, lang, mode )
 * Text.removeDiacritics( s )
 * Text.sentenceTerminated( s )
 * Text.ucfirstAll( s )
 * Text.uprightNonlatin( s )
 * Text.zip(…)
 * Text.test( s )

Usage
This is a general library; use it anywhere.

Dependencies
None.