Avoiding | as a delimiter

I need the following text to appear in my lists

productA|variantA
productB|variantB

the problem is that even if I use “” or ‘’ for instance a customer list which has “productA|variantA”,“productB|variantB” the | seems to be interpreted as a text split modified so I can end up in my output file just productA or variantA when I need the whole text “productA|variantA”

I’ve tried this with datasets and custom lists but still haven’t been able to do - any suggestions?

Thanks in advance.