View Single Post
Old 05-11-2012, 08:23 PM  
Dcat
Confirmed User
 
Dcat's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Mexico
Posts: 1,607
Here's what I'm looking for..

Example:

$string = "Lorem ipsum is the most common form of "Greeking". However more and more people are sick and tired of using the same sample text over and over again. Also lorem ipsum is in latin and it may not always be the best choice. We tried to have text generated in some of the most widely used languages but if you are in desperate need of random text in your own language, send us an email and we'll add it here. ";

$newstring = awesomeSentenceShufflingFunction($string);

echo $newstring;

-----

Output:

We tried to have text generated in some of the most widely used languages but if you are in desperate need of random text in your own language, send us an email and we'll add it here. However more and more people are sick and tired of using the same sample text over and over again. Also lorem ipsum is in latin and it may not always be the best choice. Lorem ipsum is the most common form of "Greeking".

Last edited by Dcat; 05-11-2012 at 08:34 PM..
Dcat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote