WoW:API strlower: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API strlower to API strlower without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Stub/API}}
{{luaapi}}
{{:Lua/Libshortcut|strlower|string.lower}}
Gets a string with all lower case letters instead of upper case.
  string.lower(s)
  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!
{{LUA}}

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!