Fills a certain length of a wstring with spaces (" ")
Syntax
Usage
result = WSpace( count )
Parameters
count
An integer type specifying the length of the string to be created.
Return Value
The created wstring. An empty string will be returned if count <= 0.
Description
WSpace creates a wstring (wide character string- Unicode) with the specified number of spaces.
Example
Dim A As WString *14
A="x"+WSpace(10)+"x" 'prints x x
Platform Differences
- Unicode (w)strings are not supported in the DOS port of FreeBASIC.
Dialect Differences
- Not available in the -lang qb dialect unless referenced with the alias __Wspace.
Differences from QB
See also