WoW:API strlower: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API strlower to API strlower without leaving a redirect)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  string.lower(s)
{{luaapi}}
Gets a string with all lower case letters instead of upper case.
  lowerS = string.lower(s)
lowerS = strlower(s)


Make uppercase characters lower case.
== 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!
----
{{WoW API}}

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[edit]

s
String - The string to convert

Returns[edit]

lowerS
String - The same string as passed in, but with lower case characters instead of upper case ones.

Example[edit]

> = string.lower("Hello, Lua user!")
hello, lua user!