Click or drag to resize

Space Function

Create a string of spaces.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.5
Syntax
 FUNCTION Space(
	dwSize AS DWORD
) AS STRING

Parameters

dwSize
Type: UInt32
The number of spaces to return, up to a maximum of MAX_ALLOC byes.
If <dwSize> is 0, Space() returns a NULL_STRING.

Return Value

Type: String
A string of spaces.
Remarks
Space() is similar to Buffer() but uses an initialization character of " ".
If an initialization character is not needed, Buffer() is more efficient.  Space() is also the same as Replicate(" ", <dwCount>).
Examples