kytschBASIC

Put down that phone!
Please view me on real computer.

RSET$
STRING, LENGTH

This function returns a string of characters at a specific length. The STRING will be placed at end of the return. If String$ is shorter than LENGTH the left hand side is padded with spaces.
If it is longer, it will be truncated.

Example

PRINT RSET$("Hello World!", 6)
PRINT RSET$("Hi", 5)

Output

World!
   Hi

See also