diff --git a/functions/strings.xml b/functions/strings.xml index 5c3cc83d66..ac5926874b 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1,5 +1,5 @@ - + String functions Strings @@ -3386,16 +3386,19 @@ print $domain; // prints @designmultimedia.com - strtok is used to tokenize a string. That - is, if you have a string like "This is an example string" you + strtok splits a string (arg1) + into smaller strings (tokens), with each token being delimited by any + character from arg2. + 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. <function>strtok</function> example "; $tok = strtok(" ");