I have a column with strings that are separated by “|”. When I try to split it. It splits every character. Alternatively, when I try to escape using “|” it gives me an error. ‘"|" is an illegal escape sequence in R.’
Is this expected behavior? To split it should I use regex?