Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Space – PB Docs 2021 – PowerBuilder Library

Space – PB Docs 2021

Space

PowerScript function

Description

Builds a string of the specified length whose value consists of
spaces.

Syntax

Argument

Description

n

A long whose value is the length of the string to be
filled with spaces. The maximum value is 2,147,483,647.

Return value

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:

This statement assigns 40 spaces to the string Name:

See also

Fill

Space method for DataWindows in the section called “Space” in DataWindow Reference.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x