chr

Converts a numeric value to a UCS-2 character.

chr(number) → returns char

Argument Reference for the chr function

number

Required: Yes
Values:
  • 9: \t tab
  • 10: \n New Line
  • 13: \r Carriage Return

Examples sample code invoking the chr function


character and value of korean currency symbol ( unicode number 8361 )

x = chr( 8361 ); 
 writeoutput( 'character: #x#' ); 
 x = asc( x ); 
 writeoutput( '<br>Unicode value: #x#');

Fork me on GitHub