split

split -- split string into array by regular expression

Description

array split ( string pattern, string string [, int limit])

Not: preg_split() , which uses a Perl-compatible regular expression syntax, is often a faster alternative to split() .

Exempel 1 . split( ) Example






Not :

Exempel 2 . split( ) Example