spliti
array spliti(string pattern, string subject, [int limit])
pattern | Regex pattern to split by |
subject | Input string to split |
limit | Limits the number of results |
Splits the subject string along the boundaries defined by the specified POSIX regular expression pattern, without regard to case.
Returns:
Array containing the results of splitting; FALSE if an error occurs
Description:
This function works like split() except that it ignores case when matching alphabetic characters in the boundary pattern.
See also:
explod() preg_split()
Get PHP Functions Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.