LSet$ (string$, length)  

Definition:

Pads a string with spaces to a specified value, left aligning the string.

Parameter Description:


string$ = any valid string or string variable
length = how long you want the new string to be (including padding)

Command Description:

If you have a string that is say, 10 letters long, but you want to make it a full 25 letters, padding the rest of the string with spaces, this command will do so, leaving the original string value left justified.

Example:

name$="Shane R. Monroe"
Print "New Padded Name: '" + LSet$(name$,40) + "'"

Index