Shorthand for explode in php?

bill

New member
I thought you could do a quicker version of eplode in php like

$exp_string = explode("stuff to explode," ")[0];

so that should split the text on the space " " at return the first section, or array which would be stuff??

I know you can do
 
Back
Top