Another option is to use vsv.c, written by Keith Medcalf. You can find it linked [here](http://sqlite.1065341.n5.nabble.com/csv-extension-feature-requests-new-options-for-field-separator-different-from-default-and-skip-N-to-s-td109828.html). I have used it to do more-or-less what you attempted.