Built-in function replace - replace (str, old, new[, maxsplit]) -> string

Built-in function replace - replace (str, old, new[, maxsplit]) -> string

SYNOPSIS

import pgtml2zope
replace (str, old, new[, maxsplit]) -> string

DESCRIPTION

Return a copy of string str with all occurrences of substring old replaced by new. If the optional argument maxsplit is given, only the first maxsplit occurrences are replaced.

SEE ALSO

pgtml2zope


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