def insert_into_string(string, new_string, i):
    """Insert `new_string` into `string` at index `i`

    :type string: str
    :type new_string: str
    :type i: int
    :rtype: str
    """
    return string[:i] + new_string + string[i:]
