Menu Riverview Church

STRTOK

Tokenize string

SYNTAX

strtok ( string $str , string $token ) : string
strtok ( string $token ) : string

PARAMETERS

str

The string being split up into smaller strings (tokens).

token

The delimiter used when splitting up str.

RETURN

A string token.

EXAMPLES

1

string1

2

string1

3

bool(false)

4

string1<br>string2<br>string3<br>string4<br>

PHP