LSet$ Function

Returns a string of the specified length by adding single-byte spaces to the end of the specified string until its length reaches the specified length.

Syntax
LSet$ (string, length)

Parameters

string
Specify a string expression.
length
Specify an integer or expression indicating the length of the returned string.

Return Values
Returns a string with trailing single-byte spaces appended.

See Also
RSet$, Space$

LSet$ Function Example

temp$ = "123"
temp$ = LSet$(temp$, 10)  ' temp$ = "123       "