Chapter 6: Lua Standard Libraries
Downloads
This chapter does not have any code to download
Table of Contents
- Chapter 6: Lua Standard Libraries - 91
- Table Library - 92
- str = table.concat(table [, sep [, i [, j]]]) - 92
- table.insert(table, [pos,], value) - 92
- max = table.maxn(table) - 93
- value = table.remove(table [, pos] - 93
- table.sort(table [, comp]) - 92
- String Utility Functions - 94
- Formatting New Strings - 95
- Pattern Matching - 98
- Character Classes - 98
- Pattern Items - 100
- Pattern Captures - 101
- Pattern Anchors - 102
- Pattern Examples - 102
- Pattern Matching Functions - 102
- string.gmatch(s, pattern) - 103
- string.gsub(s, pattern, repl [, n]) - 103
- string.match(s, pattern [, init]) - 104
- string.find(s, pattern [, init [, plain]]) - 104
- Math Library - 105
- World of Warcraft Additions to Lua - 108
- Function Aliases - 109
- Summary - 110