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

Home

 
4D v19
LENGTH

LENGTH  


 

 

Command LENGTHLENGTH (arithmetic_expression)

The LENGTH function returns the number of characters in the arithmetic_expression.

Example  

This example returns the number of characters in the name of products that weigh less than 15 lbs.

SELECT LENGTH (Name)
FROM PRODUCTS
WHERE Weight < 15.00



See also 

CHAR_LENGTH

 
PROPERTIES 

Product: 4D
Theme: Functions

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D SQL Reference ( 4D v19)