Hi and this function I wrote as part of a larger project and acts exactly like the php explode function. Although there a few slight differences between this function and the php explode function it can easily be tweaked to act identical. Also with this function it does not use vectors. Instead it uses an array as the result and in the result array, the combination being split will not appear in any of the strings just like the php function does.
In case your wondering how to use this function simply place in the string to split (param1) and where to split it (param2) then it will return an string array with the results. Hope you enjoy this function and that this page is a good reference...