Module:String/doc

See wikipedia documentation

Functions

 * len
 * sub - return substring in a particular position
 * sublength
 * match
 * pos
 * str_find
 * find
 * replace
 * rep - repeats a string a number of times
 * escapePattern - escape certain characters
 * count - number of occurrences found
 * join - join using a separator character
 * endswith - returns yes if found

Case insensitive matches
Lua does not include functionality for this, but Template:Lowercase can be used, or similar functions in Lua.