split

Martin Johansson 045521104 at telia.com
Tue May 8 11:24:00 EDT 2001


I have a string s that contains "( 7 Maj 21:58)"
and i want to save 7 Maj in a variable named date.
But I dont understand what I suppose to write in the split method.
date = string.split(s, "( ", ")")

Martin Johansson
pt00mjo at student.bth.se






More information about the Python-list mailing list