Programming Reference Manual
 
Syntax
 
string = stringclassobject.PaddedRight(Numchars)
 
Description
Returns numchars rightmost characters from the StringClass variable. When the length of the text buffer in the variable is shorter than the requested number of characters, additional spaces are padded until the required lenght is reached.
 
Parameter
Description
numChars
Long Integer, the number of characters requested
See Also
Example
 
Sub Main
 
Dim myStr As New StringClass
 
myStr.Append "Test"
 
Debug.Print myStr.PaddedRight(10) & "<" ' Test<'
 
End Sub