best way to replace first word in string?

Steven D'Aprano steve at REMOVETHIScyber.com.au
Sat Oct 22 07:07:23 EDT 2005


On Sat, 22 Oct 2005 21:05:43 +1000, Steven D'Aprano wrote:

> The thing is, a
> *single* string concatenation is almost certainly more efficient than a
> single string concatenation.

Dagnabit, I meant a single string concatenation is more efficient than a
single string replacement using %.


-- 
Steven.




More information about the Python-list mailing list