Hi, I grabble with this simple peice of querying: I want, i JSL, to select some rows, that contain several different pieces of strings. Like, a columsn has some descriptors such as '1. blood sample' '2. blood sample', 1. serum sample' etc. I want in one conditional expression to write:
dt >> select where('column with sample names' contains 'blood' or 'serum').
Referring to good old SAS I would just write:
data newset;
set oldset;
where(index('column','blood')>=1 or index('column','serum')>=1);
run;
How to do this in JSL?
Regards Poul