• 213
    0

    Split a string and get all values into an array in PHP. Suppose you are getting a lengthy string separated by comma, pipe or slash or it could be any delimiter. And you want to split and read every part of that delimiter to use it for other task. To do this use explode function.  Explode ...