Difference between revisions of "TRIM()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
m (Text replace - "Recital" to "Lianja") |
||
Line 29: | Line 29: | ||
==Products== | ==Products== | ||
− | + | Lianja, Lianja Server | |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:String Data]] | [[Category:String Data]] | ||
[[Category:String Data Functions]] | [[Category:String Data Functions]] |
Revision as of 01:32, 9 December 2012
Purpose
Function to remove trailing blanks
Syntax
TRIM(<expC>)
See Also
Description
The TRIM() function is synonymous with the RTRIM() function. It removes trailing blank characters from the character expression <expC>. This function should only be used in conjunction with the RPAD() function when used in index expressions, since index keys must be fixed length.
Example
fname = "Christopher " sname = "Thompson " ? len(fname) 20 ? len(trim(fname)) 11 ? trim(fname)+" "+trim(sname) Christopher Thompson
Products
Lianja, Lianja Server