I have two strings.
dat: "13/08/08
tim: 12:05:51+22"
I want the " character stripped from both the strings. Here is the code I am using:
dat=dat.strip('"')
tim=tim.strip('"')
The resulting strings I get are:
dat: 13/08/08
tim: 12:05:51+22"
Why is the " character not removed from tim?
According to the documentation here (http://www.tutorialspoint.com/python/string_strip.htm) it should work.