RTRIM()
From Recital Documentation Wiki
Revision as of 16:22, 20 March 2009 by Yvonnemilne (Talk | contribs)
Contents
RTRIM()
Class
String Data
Purpose
Function to remove trailing blanks
Syntax
RTRIM(<expC>)
See Also
TRIM(), LTRIM(), ALTRIM(), STRTRAN()
Description
The RTRIM() function is synonymous with the TRIM() function. This function removes trailing blank characters from the character expression <expC>. This function should be used in conjunction with the RPAD() function when used in index expressions.
Example
fname = "Christopher " sname = "Thompson " ? len(fname) 20 ? len(rtrim(fname)) 11 ? rtrim(fname) + " " + rtrim(sname) Christopher Thompson
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer