View Single Post
Old 05-11-2012, 08:44 PM  
Dcat
Confirmed User
 
Dcat's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Mexico
Posts: 1,607
Quote:
Originally Posted by Brujah View Post
$sentences = explode('.', $string);
shuffle($sentences);
echo implode(' ', $sentences);
Something like that, but that would also consider all the potential variations such as ! !! !!! ? ." word.word(<-no space) ..etc
Dcat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote