DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+1 =
Submit