WoW:API strlower: Difference between revisions
(Updated to match the API boilerplate.) |
m (Move page script moved page API strlower to API strlower without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{luaapi}} | ||
Gets a string with all lower case letters instead of upper case. | Gets a string with all lower case letters instead of upper case. | ||
lowerS = string.lower(s) | lowerS = string.lower(s) | ||
lowerS = strlower(s) | |||
== Arguments == | == Arguments == | ||
; s : String - The string to convert | |||
== Returns == | == Returns == | ||
; lowerS : String - The same string as passed in, but with lower case characters instead of upper case ones. | |||
== Example == | == Example == | ||
> = string.lower("Hello, Lua user!") | > = string.lower("Hello, Lua user!") | ||
hello, lua user! | hello, lua user! | ||
Latest revision as of 04:47, 15 August 2023
← WoW Lua
Gets a string with all lower case letters instead of upper case.
lowerS = string.lower(s) lowerS = strlower(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!