David Carrdcblogdev.hashnode.devยทApr 10, 2020Easily assign variable when using explode in PHPI use explode all the time, for splitting strings into parts. I typically write my explodes like this: //set the string $name = 'Joe Bloggs'; //explode where there is a space $parts = explode(' ', $name); //add the parts to variables $firstName =...712 readsAdd a thoughtful commentNo comments yetBe the first to start the conversation.