RPAD
RPAD(string, int[, paddingString])
Description
Right pad the string to the specified length. If the length is shorter than the string, it will be truncated. If the padding string is not set, spaces will be used.
Examples
SELECT RPAD(TEXT, 10, '-') FROM Players;
Updated about 5 years ago