WoW:API strchar: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API strchar to API strchar without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
string.char(i1, i2, ...)
{{luaapi}}
 
Generate a string representing the character codes passed as arguments. Numerical codes are not necessarily portable across platforms.
Generate a string representing the character codes passed as arguments. Numerical codes are not necessarily portable across platforms.
s = string.char(i1, i2, ...)
s = strchar(i1, i2, ...)


== Examples ==
  > = string.char(65,66,67)
  > = string.char(65,66,67)
  ABC
  ABC
  > = string.char()  -- empty string
  > = string.char()  -- empty string
 
""
[[Category:API Functions|strchar]]
[[Category:API String Functions|strchar]]

Latest revision as of 04:47, 15 August 2023

WoW Lua

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

s = string.char(i1, i2, ...)
s = strchar(i1, i2, ...)

Examples[edit]

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