WoW:API strlower: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Updated to match the API boilerplate.) |
||
Line 1: | Line 1: | ||
{{:Lua/Libshortcut|strlower|string.lower}} | {{:Lua/Libshortcut|strlower|string.lower}} | ||
Gets a string with all lower case letters instead of upper case. | |||
lowerS = string.lower(s) | |||
== Arguments == | |||
:; s : String - The string to convert | |||
== Returns == | |||
:; lowerS : String - The same string as passed in, but with lower case characters instead of upper case ones. | |||
== Example == | |||
> = string.lower("Hello, Lua user!") | > = string.lower("Hello, Lua user!") | ||
hello, lua user! | hello, lua user! | ||
{{LUA}} | {{LUA}} |
Revision as of 13:55, 27 June 2007
Gets a string with all lower case letters instead of upper case.
lowerS = string.lower(s)
Arguments
- s
- String - The string to convert
Returns
- lowerS
- String - The same string as passed in, but with lower case characters instead of upper case ones.
Example
> = string.lower("Hello, Lua user!") hello, lua user!