First time here? Check out the FAQ!
answered 2011-08-10 17:15:24 +0100
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?