【发布时间】:2011-09-09 13:42:33
【问题描述】:
<?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”,那么我应该如何修改上面的代码。
感谢和问候 桑德什
【问题讨论】: