RPad
Appends a pattern to or truncates a string to the desired length.
Usage
RPad (text, length, [fill])
text (required): The string to pad to the desired length.
length (required): The length of the returned string.
fill (optional): The character with which to pad the text. Defaults to space.
Example
RPad("sigma", 10, "-")
- Returns "sigma-----"
Rpad("Sigma Computing", 10)
- Returns "Sigma Comp"