strtok

Definition

string strtok ( string $str , string $token )

Description

strtok() splits a string (str) into smaller strings (tokens), with each token being delimited by any character from token. That is, if you have a string like "This is an example string" you could tokenize this string into its individual words by using the space character as the token.

[More at php.net]

Parameters



loading


Share/bookmark - strtok


Global comments