Name

strtok

Synopsis

$substring = strtok($string, $characters);

$substring = strtok($characters);

Splits string up into substrings using any of the characters in characters as delimiters. After the first call to strtok, omit the string argument in subsequent calls to return each successive substring until the end of string is reached.

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.