split

split -- split string into array by regular expression

Description

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

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

דוגמה 1 . split( ) Example






הערה :

דוגמה 2 . split( ) Example