Funny you should say that.  I was using split() and then thought of the case where the prefixSplit string might occur more than once in the string.  I thought finding the first index was a bit safer.

I'll update the code to handle prefixSplit being longer than a single character.