In PHP, if I do str_replace(array('a', 'e', 'i', 'o', 'u'), '-', $str) it'll replace all vowels with a hyphen in string $str.
Is there some equivalent in Python ? Thanks -- http://mail.python.org/mailman/listinfo/python-list
In PHP, if I do str_replace(array('a', 'e', 'i', 'o', 'u'), '-', $str) it'll replace all vowels with a hyphen in string $str.
Is there some equivalent in Python ? Thanks -- http://mail.python.org/mailman/listinfo/python-list