18 Mar
2020
18 Mar
'20
6:03 p.m.
Consider that the start or end of a string may contain repetitions of an affix. Should `-+-+-+Spam'.stripprefix('-+') remove just the first occurence? All of them? Does it need a 'count' parameter? [all modulo bikeshedding on the names of course] Rob Cliffe