Note that (in P6) you can split on the string "|", which in this case would do what you want.
In reply to Re: difficult to split on "|" by gaal in thread difficult to split on "|" by jjohhn