Python str_replace()

Python uses a function on the str/unicode object instead of a standalone function

new_s = s.replace(match, replacement)

You can view more PHP-Python statements here.

Leave a Reply

You must be logged in to post a comment.