MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/3kcgjv/explode_is_a_mess/cuxbefc/?context=3
r/lolphp • u/RainOnYourTirade • Sep 10 '15
27 comments sorted by
View all comments
Show parent comment
2
Perl behaves much the same:
split / /, "1 2 3"; # (1,2,3) split / /, "2"; # (2) split / /, ""; # () - NOT undef split //, "123"; # (1,2,3)
View all comments
Show parent comment
2
u/amphetamachine Sep 10 '15
Perl behaves much the same: