splitting using '\' as a delimiter
Peoter Veliki
peoter_veliki at hotmail.com
Sun Dec 2 18:41:45 EST 2001
I have strings like this:
string = 'value\key'
that I would like to split. If I try splitting the string like this:
alias = string.split('\\',string)
I get:
alias = ['\']
How can I do this?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20011202/7b8ff46c/attachment.html>
More information about the Python-list
mailing list