Difference between revisions of "SPACE()"

From Lianjapedia
Jump to: navigation, search
(See Also)
 
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[LPAD()]], [[REPLICATE()]], [[RPAD()]]
+
[[JavaScript built-in Lianja/VFP functions]], [[LPAD()]], [[REPLICATE()]], [[RPAD()]]
  
 
==Description==
 
==Description==

Latest revision as of 11:59, 26 September 2019

Purpose

Function to generate string of spaces

Syntax

SPACE(<expN>)

See Also

JavaScript built-in Lianja/VFP functions, 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