<?php
$string = "sandesh commented on institue international institute of technology";
/* Use tab and newline as tokenizing characters as well */
$tok = strtok($string, " \n\t");
echo $tok
?>
上面的代码给了我输出sandesh。
但是如果我想要输出“commented on Institute International Institute of Technology”,那么我应该如何修改上面的代码。
谢谢和问候桑德什