This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
CHAR

CHAR  


 

 

Command CHARCHAR (arithmetic_expression)

The CHAR function returns a fixed-length character string based on the type of the arithmetic_expression passed.

Example  

This example returns a character string based on the integer of the first letter of each last name:

SELECT CHAR(ASCII(SUBSTRING(LastName,1,1)))
FROM PEOPLE;

 
PROPERTIES 

Product: 4D
Theme: Functions

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D SQL Reference ( 4D v20 R7)