Click here to Skip to main content
15,895,256 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

i have small problem, i have one var "data" which contains of strings like this one:


['\n \t\t\t\t\t\06.05.2014 \t\t\t\t\t\n \t\t\t\t']
.
.
.
.
['\n \t\t\t\t\t\01.02.2014 \t\t\t\t\t\n \t\t\t\t']


So i need to clear all charactes ['\n\t] and just to have date???
Anyone know how to do it in python?
Posted

1 solution

 
Share this answer
 
Comments
[no name] 11-May-14 10:12am    
Thanks!
[no name] 11-May-14 10:16am    
You are welcome. Thx for accepting...btw I just googled, I don't now python ;)
[no name] 11-May-14 11:27am    
I googled also, but didnt knew for strip()... :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900