WoW:API strchar: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(Use Lua/Libshortcut template. Change category from "LUA Functions" to "Lua functions".)
Line 1: Line 1:
{{:Lua/Libshortcut|strchar|string.char}}
  string.char(i1, i2, ...)
  string.char(i1, i2, ...)


Line 7: Line 8:
  > = string.char()  -- empty string
  > = string.char()  -- empty string


----
{{LUA}}
{{WoW API}}

Revision as of 12:15, 26 May 2006

Lua/Libshortcut

string.char(i1, i2, ...)

Generate a string representing the character codes passed as arguments. Numerical codes are not necessarily portable across platforms.

> = string.char(65,66,67)
ABC
> = string.char()  -- empty string

Template:LUA