Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
CryoEagle edited this page Dec 26, 2018 · 5 revisions

chr

Returns a string containing a character with given Unicode code.

Syntax:

chr(val)
Argument Description
int val Unicode code to get the string from

Returns: string

Description

This function returns a string containing the character based on the input Unicode code and can then be displayed.

Example:

string str = chr(69) + chr(120) + chr(101);

This would set str to a string value of "Exe" because 69 is the Unicode code for "E", 120 for "x", and 101 for "e".

Back to strings

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /