PHP Manual
This manual is provided as a courtesy. It is not an official source. Please check php.net for updated information.
(PHP 4 >= 4.0.1, PHP 5)
This function is identical to split() except that this ignores case distinction when matching alphabetic characters.
This example splits a string using 'a' as the separator :
Example 1. spliti() example
<?php$string = "aBBBaCCCADDDaEEEaGGGA";$chunks = spliti ("a", $string, 5);print_r($chunks);?>
The above example will output:
Array ( [0] => [1] => BBB [2] => CCC [3] => DDD [4] => EEEaGGGA )
See also preg_split(), split(), explode(), and implode().