OracleString FunctionsRPAD
LPAD

RPADString Functions

INITCAP

Right-pads a string to a specified length.

Syntax

RPAD(str, n [, pad])

Example

Enter values below to update the example in real time.

dept_name
dept_col
departments
SELECT RPAD(dept_name, 20) AS dept_col
FROM departments;