First time here? Check out the FAQ!
answered 13 years ago
Hmmm . . . I couldn't figure it out either. The following does work:
s = 'fooooo' t = 'baar' print t + s[len(t):] baaroo
Will that work in your situation?