Difference between revisions of "LTRIM()"

From Lianjapedia
Jump to: navigation, search
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to trim spaces from left
 
Function to trim spaces from left
 
  
 
==Syntax==
 
==Syntax==
 
LTRIM(<expC>)
 
LTRIM(<expC>)
 
  
 
==See Also==
 
==See Also==
 
[[ALLTRIM()]], [[RPAD()]], [[RTRIM()]], [[SET STRESCAPE]], [[STRTRAN()]], [[TRIM()]]
 
[[ALLTRIM()]], [[RPAD()]], [[RTRIM()]], [[SET STRESCAPE]], [[STRTRAN()]], [[TRIM()]]
 
  
 
==Description==
 
==Description==
 
The LTRIM() function removes leading spaces from the character expression <expC>.
 
The LTRIM() function removes leading spaces from the character expression <expC>.
 
  
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
? ltrim("  Recital")
+
? ltrim("  Lianja")
Recital
+
Lianja
 
</code>
 
</code>
 
  
 
==Products==
 
==Products==
Recital Server, Recital
+
Lianja Server, Lianja
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 12:58, 11 December 2012

Purpose

Function to trim spaces from left

Syntax

LTRIM(<expC>)

See Also

ALLTRIM(), RPAD(), RTRIM(), SET STRESCAPE, STRTRAN(), TRIM()

Description

The LTRIM() function removes leading spaces from the character expression <expC>.

Example

? ltrim("   Lianja")
Lianja

Products

Lianja Server, Lianja