ToLower
From OxeyeWiki
|
WChar:toLower() | ||
|
Creates a copy of the string in lower-case. | ||
| Parameter | Expected Type | Description |
| No parameters | ||
| Returns | ||
|
Returns a new WChar object with the same string, but in lower-case. | ||
Example
local text = WChar("ABCabc")
local lc = text:toLower()
print(text:toString()) -- "ABCabc"
print(lc:toString()) -- "abcabc"