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

## SYNOPSIS

    import HTMLgen

    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

HTMLgen

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Tue Mar 16 1999