I want to strip double quotes from:
string = '"" " " ""\1" " "" ""'
to obtain:
string = '" " " ""\1" " "" "'
I tried to use rstrip
, lstrip
and strip('[^"]|["$]')
but it did not work.
How can I do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…