Type Function Library string.* Return value String Revision Release 2024.3703 Keywords string, char, numerical code, characters See also string.byte()
Returns a string in which each character has the internal numerical code equal to its corresponding argument.
Note that the numerical codes are not necessarily portable across platforms.
print( string.char( 65,66,67 ) ) --> ABC print( string.char() ) --> empty string