Home
Oracle PL / SQL
Aggregate Functions
Analytical Functions
Char Functions
Constraints
Conversion Functions
Cursor
Data Type
Date Timezone
Hierarchical Query
Index
Insert Delete Update
Large Objects
Numeric Math Functions
Object Oriented Database
PL SQL
Regular Expressions
Report Column Page
Result Set
Select Query
Sequence
SQL Plus
Stored Procedure Function
Subquery
System Packages
System Tables Views
Table
Table Joins
Trigger
User Previliege
View
XML
RPAD « Char Functions « Oracle PL / SQL
Oracle PL / SQL
Char Functions
RPAD
1.
Rpad: makes a string a certain length by adding (padding) a specified set of characters to the right
2.
LPAD() and RPAD(): pad the input parameter of character data types with blanks (or another character) from the left or right
3.
RPAD() function's behavior is identical to that of LPAD(), the only difference being the padding side.
4.
select rpad( '*', 5, '*' )
5.
Use rpad to add extra space
6.
Padding department with < and >