Function capwords - capwords(s, [sep]) -> string

Function capwords - capwords(s, [sep]) -> string

SYNOPSIS

import pgml2dot
def capwords(s, sep=None)

DESCRIPTION

Split the argument into words using split, capitalize each word using capitalize, and join the capitalized words using join. Note that this replaces runs of whitespace characters by a single space.

SEE ALSO

pgml2dot


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