I am trying to parse a file where I am looking for lines that contain logical combinations of strings and I want FindList to essentially follow that logic. As an example if if have the following
"some line.............a,1,2,b"
"some line..............a,1,b,3,c" --> want FindList to pull this line out of the file for a&&b&&c but not the other two since a,b,and c are not all present there
"some line..............3,b,c,4"
Is there an easy way to implement a rule for FindList or do I need to implement my own FindList function? It would be nice if I could add a Boolean rule to FindList search strings.
FindList["myfile.csv", {"wantThisString",",AndThisString,",",AndThisString to all be present to add line to list,"}];
thanks