Returns the result of inserting a string in the center or one position to the right of the center of another string with a certain length. It can be padded on the left and on the right with a character.
CENTERRIGHT(s,l,c)
dcl s char (40) var;
    dcl t char (40) var;
    s = 'This string is 33 characters long';
    t = centerright(s, 40, '+');
    put skip list (t);
 
               		will print:
++++This string is 33 characters long+++
None.