Dewsworld Dewsworld - 2 years ago 120
Python Question

How to use string.replace() in python 3.x

The string.replace() is deprecated on python 3.x. What is the new way of doing this?

Answer Source

As in 2.x, use str.replace().

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download