WoW:API strlower: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
(Updated to match the API boilerplate.)
Line 1: Line 1:
{{Stub/API}}
{{:Lua/Libshortcut|strlower|string.lower}}
{{:Lua/Libshortcut|strlower|string.lower}}
string.lower(s)


Make uppercase characters lower case.
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

Lua/Libshortcut

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!

Template:LUA