HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP String Reference : Split string one by one
The strtok() function splits a string into smaller strings (tokens).
Parameter | Description |
---|---|
string | Required. Specifies the string to split |
split | Required. Specifies one or more split characters |
Return Value: | Returns a string token |
---|---|
PHP Version: | 4+ |
❮ PHP String Reference