[Tutor] creating the equivalent of string.strip()

Kent Johnson kent37 at tds.net
Tue Oct 2 12:49:43 CEST 2007


Andrew James wrote:
> Helps if I send it to the group...
> 
> And Kent, I didn't post it originally because I figured the other guy 
> was still working on his script. Besides, I didn't think it'd be that 
> far fetched for you to assume I was using something like "while s[0] == 
> ' ':"

Actually I saw that the snippet you posted was fine and assumed that the 
error must be somewhere else :-)

Kent


More information about the Tutor mailing list