title: Split a string into two equal length parts using PHP
body: <p>I need to split a string into two equal length parts.String can contain blank spaces, commas or anything. I have referred and tries the code sample of explode statement from the link <a href="http://www.testingbrain.com/php-tutorial/php-explode-split-a-string-by-string-into-array.html" rel="noreferrer">http://www.testingbrain.com/php-tutorial/php-explode-split-a-string-by-string-into-array.html</a> but there it not showing any sample for splitting by equal length.</p>
  
  <p>One more thing, while splitting words shouldn't broken.</p>