Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

add place in certain index python string

>>> hash = '355879ACB6'
>>> hashlist = list(hash)
>>> hashlist.insert(4, '-')
>>> ''.join(hashlist)
'3558-79ACB6'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #place #index #python #string
ADD COMMENT
Topic
Name
3+7 =