StringLib.spaces function

StringLib.spaces returns a string of spaces of the specified length.

Package

eglx.lang

Syntax
static function spaces (characterCount int in) returns(string);
characterCount
Takes the number of spaces to return.

If characterCount is null, the function returns a null.

Example use

After the following code runs, result is a string of 7 spaces:

result STRING = StrLib.spaces(7);
Comments
Compatibility

Table 1. Compatibility
Target Issue
Java No issues.
JavaScript No issues.