IR Framework

String.space Method

Returns a string containing a defined number of spaces.
object.space (width)

Arguments

object
Required. Always the name of a String object.


width
Required. The number of spaces to output.



Return Value

The String.space method returns a copy of the string with any leading or trailing spaces removed.

Remarks

The following example illustrates the use of the String.space method.

Console.Writeln("Hello".space(20));	//	returns '                    '


Requirements

rTrim(), lTrim()