| 4D v15ASCII | ||||||||||||||
| 
 | 
    4D v15
 ASCII 
         | |||||||||||||
|  | ||
The ASCII function returns the leftmost character of the arithmetic_expression as an integer. If the arithmetic_expression is null, the function will return a NULL value.
This example returns the first letter of each last name as an integer:
SELECT ASCII(SUBSTRING(LastName,1,1))
FROM PEOPLE;
	Product:  4D
	Theme:  Functions
	
        
        
	
	
	
	
	
	
	
	
	
	
	
	4D SQL Reference ( 4D v15)
	
	
	
	
	
 Add a comment
Add a comment