<?php
$string = "sandesh commented on institue international institute of technology";
/* Use tab and newline as tokenizing characters as well */
$tok = strtok($string, "
\t");
echo $tok
?>
The above code gives me output sandesh.
But if I want the output "commented on institute international institute of technology", then how should I modify the above code.
Thanks and Regards Sandesh