I am having list using the following item below
Id CategoryName 1 CinemaGallery,CinemaEvents,Cinema 2 CinemaNews, Cinema, CinemaTrailer 3 TamilCinemaNews, TamilCinema, Tamil
Now i have to split each categoryname and have to find the list that contains each category. For example I have to find the list that has Categoryname only Cinema
or only CinemaEvents
or only TamilCinema
.
I used Contains method but it returns all the list which has Cinema in the each string.
Could you please help me?