Optional
text: null | stringthe source string to inspect
Optional
size: numberthe size to pad to
Optional
pad: null | stringthe target string to fill, default is space
the right padded string with the given size and string, or original string if no padding is necessary
Returns the right padded string with the given size and string, or original string if no padding is necessary