Difference between revisions of "SPACE()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
String Data
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to generate string of spaces
 
Function to generate string of spaces
Line 12: Line 8:
  
 
==See Also==
 
==See Also==
[[LPAD()]][[REPLICATE()]], , [[RPAD()]]
+
[[LPAD()]], [[REPLICATE()]], [[RPAD()]]
  
  
Line 32: Line 28:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:String Data]]
 
[[Category:String Data]]
 
[[Category:String Data Functions]]
 
[[Category:String Data Functions]]

Latest revision as of 16:27, 7 December 2009

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

Recital, Recital Server