<< Click to Display Table of Contents >>
Manual > Control Reference > Route > Route Methods >
Returns the character corresponding to the specified ASCII code.
syntax
Chr(
charcode
)
Parameters
Type:
Number
ASCII code.
Return Value
character
The string corresponding to the ASCII code.
Explanation
Returns the character corresponding to the specified ASCII code. The RET method is provided as a method that returns Chr (0x0a).
Example
var va = ::Chr(0x09); // Tab key var vb = ::Chr(34); // Double quote var vc = ::RET(); // Same as ::Chr(0x0a)
Supported
○
Script Action
Can be used in server script Ver2 actions
Browser script
Can be used in browser scripts
Calculation Expression Syntax
Can be used in expression syntax (e.g. bind syntax)
reference
StrLen
MBStrLen
LeftStr
RightStr
MidStr
FindStr
IsLike
InsertStr
RepeatInsertStr
CombineStr
DivideStr
TrimLeftStr
TrimRightStr
UpperStr
LowerStr
ReplaceStr
ReverseStr
CStrToArray
CArrayToStr
CCsvToArray
CArrayToCsv
Chr
Ascii
RET
IntStrs
IsFullWidthChar
MeasureStr