Extended Standard Library
Revision as of 16:57, 19 December 2011 by Adriweb (talk | contribs) (Created page with " == Quick Overview== *'''string.split'''(str [,delim]) - Divides str into substrings based on a delimiter, returning a list of the substrings. The default pattern for the d...")
Quick Overview
- string.split(str [,delim]) - Divides str into substrings based on a delimiter, returning a list of the substrings. The default pattern for the delimiter is white space (“%s+”).
- string.uchar(chnum, …) - Unicode characters may be included in strings by encoding them in UTF-8. This routine converts one or more Unicode character numbers into a UTF-8 string.
- string.usub(str, startpos, endpos) - This routine returns a substring of str. It is the Unicode version of string.sub. It accounts for multi-byte characters encoded in UTF-8. Caution: this is an expensive routine. It allocates a temporary memory buffer during its operation.