SPACE()

From Lianjapedia
Revision as of 12:27, 7 December 2009 by Helengeorge (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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