Eyeon:Script/Reference/Libraries/string/char
From VFXPedia
< Eyeon:Script | Reference | Libraries | string
Contents |
String : string.char
Arguments
string.char( i, ... )
- i (required, number)
an integer representing the ascii value of a character
Returns
A string containing the ascii character represented by 'i'
Remarks
The string.char() function gets zero or more integers, converts each one to a character, and returns a string concatenating all those characters together.
Requirements
- eyeonScript 5.0
- Fusion 5.0
Examples
-- prints the letter "H"
i = string.char( 72 )
print( i )
-- prints the word "Hello"
i = string.char( 72, 101, 108, 108, 111 ) print( i )