Mega Code Archive

 
Categories / Oracle PLSQL / Char Functions
 

Rpad

SQL> -- Rpad: makes a string a certain length by adding (padding) a specified set of characters to the right . SQL> SQL> -- RPAD(string, length_to_make_string,  what_to_add_to_right_of_string) SQL> SQL> SELECT RPAD('Letters', 20, '.') FROM dual; RPAD('LETTERS',20,'. -------------------- Letters.............