WoW:API strupper: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Use Lua/Libshortcut template. Change category from "LUA Functions" to "Lua functions".)
m (Move page script moved page API strupper to API strupper without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{:Lua/Libshortcut|strupper|string.upper}}
{{luaapi}}
Make all the lower case characters in a string upper case.
  string.upper(s)
  string.upper(s)
strupper(s)


Make all the lower case characters upper case.
== Example ==
 
  > = string.upper("Hello, Lua user!")
  > = string.upper("Hello, Lua user!")
  HELLO, LUA USER!
  HELLO, LUA USER!
{{LUA}}

Latest revision as of 04:47, 15 August 2023

WoW Lua

Make all the lower case characters in a string upper case.

string.upper(s)
strupper(s)

Example[edit]

> = string.upper("Hello, Lua user!")
HELLO, LUA USER!