LSET$
STRING, LENGTH
This function returns a string of characters at a specific length. The STRING will be placed atbeginning of the return. If String$ is shorter than LENGTH the right hand side is padded with spaces.
If it is longer, it will be truncated.
Example
PRINT LSET$("Hello World!", 5)
PRINT LSET$("Hi", 5)
Output
Hello
Hi