Difference between revisions of "SPACE()"
From Lianjapedia
Yvonne.milne (Talk | contribs) (→See Also) |
|||
(4 intermediate revisions by 3 users not shown) | |||
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()]] | + | [[JavaScript built-in Lianja/VFP functions]], [[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== | ||
− | + | Lianja, Lianja Server | |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | |||
[[Category:String Data Functions]] | [[Category:String Data Functions]] |
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