how do YOU split?
old code new question: can you spot the undefined behaviour? omg! and how can I ever recover from this?
@namark just a guess but assuming the seperator is a multi-character value and not a single or two letter value then it will ignore the content in the middle of the seperator and misidentify seperators.