Difference between revisions of "Extended Standard Library"

From Inspired-Lua Wiki
Jump to navigation Jump to search
(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...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
+
#REDIRECT [[:Category:Extended Standard Library]]
== 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. 
 
     
 
<br/>
 

Latest revision as of 17:17, 19 December 2011