This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||
|
4D v20 R7
RTRIM
|
|
||
The RTRIM function removes any empty spaces from the end of the arithmetic_expression. The optional second arithmetic_expression can be used to indicate specific characters to be removed from the end of the first arithmetic_expression.
This example removes any empty spaces from the ends of the product names:
SELECT RTRIM(Name)
FROM PRODUCTS;
Product: 4D
Theme: Functions
4D SQL Reference ( 4D v20 R7)