Replace every n instances of a string

Tom Cross thomasacross at hotmail.com
Sun Aug 17 05:39:34 CEST 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