title: How to split a long string without breaking words?
body: <p>I'm looking for something along the line of</p>
  <pre><code>str_split_whole_word($longString, $x)
  </code></pre>
  <p>Where <code>$longString</code> is a collection of sentences, and <code>$x</code> is the character length for each line. It can be fairly long, and I want to basically split it into multiple lines in the form of an array.</p>
  <p>For example:</p>
  <pre><code>$longString = 'I like apple. You like oranges. We like fruit. I like meat, also.';
  $lines = str_split_whole_word($longString, $x);
  </code></pre>
  <p>Desired output:</p>
  <pre><code>$lines = Array(
      [0] = 'I like apple. You'
      [1] = 'like oranges. We'
      [2] = and so on...
  )
  </code></pre>