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".)
({{luaapi}})
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}}

Revision as of 22:43, 25 March 2010

WoW Lua

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

string.upper(s)
strupper(s)

Example

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