I want to substring words, I might be using wrong terminology. But I tried
the following example the only problem I have it cut word any where it
likes. eg "breathtaking" on my string is only bre.
$string = "This is an awe-inspiring tour to the towering headland
known as Cape Point. Magnificent beaches, breathtaking views, historic and
picturesque coastal ";
$rtioverview = substr ( $string , 0 , 100 );
Reults = "This is an awe-inspiring tour to the towering headland known
as Cape Point. Magnificent beaches, bre";
any one can help to solve this problem please?
--
Developer
Green IT Web <http://www.greenitweb.co.za>
http://www.greenitweb.co.za