Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python divide string in half

firstpart, secondpart = string[:len(string)/2], string[len(string)/2:]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #divide #string
ADD COMMENT
Topic
Name
8+7 =