insert chars into string

eight02645999 at eight02645999 at
Sat Mar 18 02:32:16 CET 2006

is there a string method to insert characters into a string?
str = "abcdef"
i want to insert "#" into str so that it appears "abc#def"

currently what i did is convert it to a list, insert the character
using insert() and then join them back as string.. 

More information about the Python-list mailing list