DEANO.ME

explode

 

Those of you who are familiar with PHP know a very useful function called explode() which takes a string and a delimiter and splits the string into an array using the delimiter as the splitter. So for instance a string “this|is|a|test” can be split up into an array where: [0] =  this [1] = is […]

+1
Tweet
Share
Share
Stumble
Pin
Email
Shares 0