4D v14

CHAR

Home

 
4D v14
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

 
ARTICLE USAGE

4D SQL Reference ( 4D v11 SQL Release 4 )
4D SQL Reference ( 4D v14)
4D SQL Reference ( 4D v12.1)
4D SQL Reference ( 4D v13.4)
4D SQL Reference ( 4D v14 R2)
4D SQL Reference ( 4D v14 R3)
4D SQL Reference ( 4D v14 R4)