string.char
From GMod Wiki
Function | |
Syntax |
string.char( Integer i1, Integer i2, Integer i3, ... ) Where is this used? |
Description: | |
Return a string of the equivalent characters for the numeric parameters. | |
Returns: | String |
Part of Library: | String |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=String.char]String.char [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | Demonstrates the string.char function converting from ASCII code to a string |
---|---|
Used on | |
Code | print(string.char(65)) print(string.char(65, 66, 67)) |
Output | A ABC |
Additional Notes
- None