chr_return_character_from_ascii_.htm
| Navigation: Language Reference > 13 - Built-in Functions >====== CHR (return single character) ====== | ![]() ![]() |
CHR(code, [unicode])
| CHR | Returns the display character. |
| code | A numeric expression containing a numeric ASCII character code. |
| Unicode | If omitted or equal to zero CHR returns 1 ANSI character, if not equal to zero CHR returns 1 Unicode character. |
The CHR procedure returns either a single ANSI or Unicode character represented by the code parameter.
| Return Data Type: | ANSI or Unicode character |
| Example: |
Stringvar = CHR(122) !returns ANSI z
Stringvar = CHR(65) !returns ANSI A
UstringVar = CHR(1046,1) !returns CYRILLIC letter ZHE Ж
UstringVar = CHR(931,1) !returns GREEK letter SIGMA Σ
See Also:
chr_return_character_from_ascii_.htm.txt · Last modified: by 127.0.0.1




