in reply to string parsing
could it be the single quotes in the split is causing the escape to not be acknowledged? so it's splitting literally on "backslash-pipe"?