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

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

SYNOPSIS

import qmlservhandler
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

qmlservhandler


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