RPAD(str,len,padstr) : RPAD : String Functions MySQL TUTORIALS


MySQL TUTORIALS » String Functions » RPAD »

 

RPAD(str,len,padstr)


If str is longer than len, the return value is shortened to len characters.

mysql> SELECT RPAD('A',1,'?');
+-----------------+
| RPAD('A',1,'?'|
+-----------------+
| A               |
+-----------------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo String Functions
» RPAD