Difference between revisions of "SPACE()"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to generate string of spaces
 
Function to generate string of spaces
 
  
 
==Syntax==
 
==Syntax==
 
SPACE(<expN>)
 
SPACE(<expN>)
 
  
 
==See Also==
 
==See Also==
 
[[LPAD()]], [[REPLICATE()]], [[RPAD()]]
 
[[LPAD()]], [[REPLICATE()]], [[RPAD()]]
 
  
 
==Description==
 
==Description==
 
The SPACE() function generates a blank string of <expN> characters.
 
The SPACE() function generates a blank string of <expN> characters.
 
  
 
==Example==
 
==Example==
Line 25: Line 21:
 
C
 
C
 
</code>
 
</code>
 
  
 
==Products==
 
==Products==

Revision as of 11:06, 12 December 2012

Purpose

Function to generate string of spaces

Syntax

SPACE(<expN>)

See Also

LPAD(), REPLICATE(), RPAD()

Description

The SPACE() function generates a blank string of <expN> characters.

Example

store space(10) to line1,line2,line3
? len(line1)
        10
? empty(line2)
.T.
? type("line3")
C

Products

Lianja, Lianja Server