Ric Da Force wrote:
> Hi guys,
>
> Thank you all for your input!  It was good to see so much convergence in the
> approach!

Just for divergence, you can also do this with regular expressions:

>>> import re
>>> re.sub("(.*),(.*)", r"\1 and\2", "C1, C2, C3")
'C1, C2 and C3'

Alan.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to