Space PowerScript function
Description
Builds a string of the specified length whose value consists
of spaces.
Syntax
|
1 |
<span>Space</span> ( <span>n</span> ) |
|
Argument |
Description |
|---|---|
|
n |
A long whose value is the length of the |
Return Values
String. Returns a string filled with n spaces
if it succeeds and the empty string (“”) if an error occurs. If n is null, Space returns null.
Examples
This statement puts a string whose value is four
spaces in Name:
|
1 |
string Name |
|
1 |
Name = <span>Space</span>(4) |
This statement assigns 40 spaces to the string Name:
|
1 |
string Name |
|
1 |
Name = <span>Space</span>(40) |
See Also
-
Fill, Space method
for DataWindows in the DataWindow Reference or Help
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest