trim start and trailing space chars from string

Konstantinos Pachopoulos kostaspaxos at yahoo.gr
Sat Sep 15 11:24:01 CEST 2007


Hi,
is there something corresponding to the java String.trim() method, ie 
trim start and trailing space/tab chars from string?
say convert " asdf   "  to "asdf"?

Thnx



More information about the Python-list mailing list