Fredrik Lundh>RE? ex-perler? try strip+lstrip instead:<
Or even:
>>> text = " $12921 "
>>> text.replace("$", "")
' 12921 'Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh>RE? ex-perler? try strip+lstrip instead:<
Or even:
>>> text = " $12921 "
>>> text.replace("$", "")
' 12921 'Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list