module documentation

Undocumented

Function prefix_replace Replaces the old prefix of the original string by a new suffix
Function suffix_replace Replaces the old suffix of the original string by a new suffix
def prefix_replace(original, old, new): (source)

Replaces the old prefix of the original string by a new suffix

Parameters
originalstring
oldstring
newstring
Returns
string
def suffix_replace(original, old, new): (source)

Replaces the old suffix of the original string by a new suffix