Tuesday, 7 August 2007

RPAD

Add characters to the right of a string until a fixed number is reached.

Example: rpad('abc',8,'x') = 'abcxxxxx'.

If the last parameter is not specified, spaces are added to the right.

No comments: