Contents: | Main | Chapter | See Also: | Getting Started Manual | Programmer Manual |
Format: | PADRIGHT(string,n) |
Parameters: |
string is a string or string expression to be printed. n is the total size of the output string. |
Use: | This function will pad string on the right with spaces to make a string n characters long. If string is longer than n characters, the entire string will be returned; this function will not truncate. |
Examples: |
PADRIGHT("Peter",10)=> Peter [five spaces after the 'r'] PADRIGHT(CITY,15)=> San Juan Capistrano |
Reviewed/Updated: March 4, 2007