This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||
|
4D v19
CHAR
|
|
||
The CHAR function returns a fixed-length character string based on the type of the arithmetic_expression passed.
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;
Product: 4D
Theme: Functions
4D SQL Reference ( 4D v19)