Using explode I broke up the text into pieces, then us the foreach to look for a few thing in the text.
$pieces = explode(' ', $text);
foreach ($pieces as $piece) {
Some Modification of the piece
}
My questions so how can I put those pieces back together? So I can wordwrap the text. Some like this:
piece 1 + piece 2 + etc