Onetastic Macro Documentation >
>
>
Chr Chr
Creates a string from a given ASCII number or Unicode code point. For instance Chr(10) will return the newline character "\n".
Syntax
String Chr(Mixed number...)
Parameters
- Mixed number (optional)
- The ASCII number(s) or Unicode code point(s). This can be a single number/code point, multiple numbers/code points separated by commas, or an array of numbers/code points. If given multiple numbers/code points or an array of them, it will return a string that contains each of the characters. Chr(13, 10) or Chr(Array(13, 10)) will return "\r\n".
Examples
Chr(65)
Chr(79, 110, 101, 78, 111, 116, 101)
Chr(Array(77, 97, 99, 114, 111))
Chr(9924, 9917)
|