I'm using a pipe (|) character in an evar inside s.products. How do I escape that pipe character?

itwontsting

02-03-2017

If the value of some of my eVars is something like

"orange|70|coats"

and I want to include multiple evar in s.products, it would make sense that I need to escape the inner pipe character. That's because, of course, multiple evars in s.products are also delimited using a pipe character.

So, without escaping, s.products with a single product would like like

s.products=";ABC123;1;10;event1=1.99|event2=25;evar1=orange|70|coats|evar2=3 Stars"

Assuming I cannot change the inner delimiter character to something other than a pipe character, how would I escape it?

Answers (0)