When @noisneil opened up the question
I very nearly piped up about using KM arrays with custom delimiters but then it got really complicated with CSVs, JSON, JavaScript... so it's nice to see the subject come up again but this time from the (busy) desk of @Nige_S
For more information, see the wiki Searching the Forum for Answers section.