I have a column which is like below in my data table:
Category
_________
{A}
{B}
{C}
{A,B}
{A,C}
{C}
{C,A,B}
{A}
{A,C}
from this I want to select where the rows where A is a member of category. I am currently using
DT[Category=="{A}"]
to filter out the rows where category= A but rather than this I would like to have rows which category contains A (like member of in postgres) . Any help is appreciated.