[Tutor] how to add string into the specified position of the original string

Lin Jin jinlin555 at msn.com
Sun Oct 24 02:32:16 CEST 2004


if i define a function:
def setposition(post,outter,string):

i want to call the function setposition(3,"S", "0S0 0SSSS") that return 
the"OSOSOSSSS"
HOW COULD I DEFINE THE FUNCTION TO MAKE THAT.THX

_________________________________________________________________
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger:  http://messenger.msn.com/cn  



More information about the Tutor mailing list