PHP » GoLang |
login |
register |
about
|
spliti(PHP 4 >= 4.0.1, PHP 5) spliti — Split string into array by regular expression case insensitive Warning
This function was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0. Alternatives to this function include:
Description
array spliti
( string
$pattern
, string $string
[, int $limit = -1
] )
Splits a This function is identical to split() except that this ignores case distinction when matching alphabetic characters. Parameters
Return Values
Returns an array of strings, each of which is a substring of
If there are n occurrences of
ExamplesThis example splits a string using 'a' as the separator : Example #1 spliti() example
<?php The above example will output: Array ( [0] => [1] => BBB [2] => CCC [3] => DDD [4] => EEEaGGGA ) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|