Replace every n instances of a string

Tom Cross thomasacross at hotmail.com
Sat Aug 16 23:39:34 EDT 2003


Thanks very much everyone!  I love the simplicity of Hans' answer to
use a temporary string and the one-line variant is also awesome.

-Tom




More information about the Python-list mailing list