Contents | Index | < Browse | Browse >
CENTER(<string>,<length>,[<padchar>])
      returns a string

The result is a string of <length> characters with <string> centered in
it. The <padchar> is used to fill out the left and right sides of the
string. The default pad character is a blank.

   Example:
         say '['center('Title',20)']';      >>> [       Title        ]
         say center('Title',22,'*');        >>> ********Title*********

   Also see 
            

Next: COMPRESS() | Prev: String functions | Contents: String functions