OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis                     
 

3.5.5.2 Char

Description

This function is used to return the character corresponding to the code number.

Syntax

 string Char(int number)

Parameters

number

is a number from 1 to 65535. Prior to Origin 2018b, the char() function could only return 1 to 255 characters but has been extended to return characters beyond the ASCII limit.

Return

Return the character of the code number.

Example

string strchar$=char(65)$;
strchar$=; //Should return the character A.

See Also

Code

 

© OriginLab Corporation. All rights reserved.