String.PadRight

Parent Previous Next

String.PadRight.

The string is expanded by padding from the right.


Syntax.


 PadRight(Integer maxLength; String padChar) : String

 


Arguments:


Example:


 String s;

 s := ("0123").PadRight(6, " ");   //Now s == "0123  ";

 s := ("0123").PadRight(9, "ab");  //Now s == "0123aaaaa";