WoW:API strupper: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API strupper to API strupper without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{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!
[[Category:API Functions|strupper]]
[[Category:API String Functions|strupper]]

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!