split string into two half python code example
Example: python divide string in half
firstpart, secondpart = string[:len(string)/2], string[len(string)/2:]
firstpart, secondpart = string[:len(string)/2], string[len(string)/2:]