6 Mar
2008
6 Mar
'08
1:16 p.m.
On Thu, Mar 6, 2008 at 11:37 AM, Terry Reedy
Who many such uses are like your 'foo bar for'?
The case I ran into is that I used in a fashion like 'abaaab'.lstrip('ab') before I understood exactly what strip did. The replace trick won't work for me because all of the instances where I used this were in an api, so I couldn't assume that the string i was trimming didn't have other instances of the prefix/suffix in the middle.