Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

insert into string python

def insert (source_str, insert_str, pos):
    return source_str[:pos]+insert_str+source_str[pos:]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #insert #string #python
ADD COMMENT
Topic
Name
2+1 =