Function center - center(s, width) -> string

Function center - center(s, width) -> string

SYNOPSIS

import pgtml2iphp
def center(s, width)

DESCRIPTION

Return a center version of s, in a field of the specified width. padded with spaces as needed. The string is never truncated.

SEE ALSO

pgtml2iphp


Generated by HTMLFormatter at Fri Dec 20 18:58:45 2002