in reply to difficult to split on "|"
print join(",",split(//, "oneX|twoX|threeX")); __OUTPUT__ o,n,e,X,|,t,w,o,X,|,t,h,r,e,e,X [download]