DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Python Add a string in a certain position
>>> s[:4] + '-' + s[4:] '3558-79ACB6'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Python
#Add
#string
#position
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit