Difference between revisions of "ALLTRIM()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to remove leading and trailing spaces | Function to remove leading and trailing spaces | ||
Line 16: | Line 12: | ||
==See Also== | ==See Also== | ||
− | [[LPAD()]], [[LTRIM()]], [[RPAD()]], [[RTRIM()]], [[STRTRAN()]], [[TRIM()]] | + | [[LPAD()]], [[LTRIM()]], [[RPAD()]], [[RTRIM()]], [[SET STRESCAPE]], [[STRTRAN()]], [[TRIM()]] |
Line 34: | Line 30: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital Server, Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:String Data]] | ||
+ | [[Category:String Data Functions]] |
Latest revision as of 14:24, 21 July 2010
Purpose
Function to remove leading and trailing spaces
Syntax
ALLTRIM(<expC>)]]
Description
The ALLTRIM() function trims leading and trailing spaces from the character expression <expC>. This function should be used in conjunction with the RPAD() function when used in index expressions.
See Also
LPAD(), LTRIM(), RPAD(), RTRIM(), SET STRESCAPE, STRTRAN(), TRIM()
Example
name=" Peter " ? len(name) 15 ? name Peter ? alltrim(name) Peter ? len(alltrim(name)) 5
Products
Recital Server, Recital