时间:2021-07-01 10:21:17 帮助过:6人阅读
// loop while there are still tokens
for($token = strtok($line, "\t");
$token != "";
$token = strtok("\t"))
{
print("token: $token
\n");
}
?>
//传回字串中某字串开始处至结束的字串
$text = "Although this is string, it's not very long.";
print("
".strstr($text, ","));
?>