def string_insert(str1, str2, i):
return str1[:i] + str2 + str1[i:]<EOL>
Insert a string in the middle of another string
:param str1: the original string
:param str2: the string to be inserted
:param i: the index of the insertion position
:return: the resulting string