I have a long string with items seperated by " :: ". I want to take the string, and print half the items in one <td> and the other half in the next <td>.
I ran it through str_replace to replace the :: with <br>, and I can calculate at which item the break should occur, but I don't now how to actually break the string. IE: how can I say find the 3rd occurance of :: and return everything before it?
I checked out preg_replace, but couldn't discern a way to do it.
Thanks much.