Subscribe Bookmark RSS Feed

Select any item from a list

ptkguy

Community Trekker

Joined:

Jun 23, 2011

JMP 8.0.2.2 on Windows XP

I have a data table where I would like to select all the rows that contain any values from a stored list. Is there some simple built-in function to do this or will I have to use some sort of messy for loop?

Sample Script:

dt=current data table();
temp = {"a","b","c"};
dt<
1 REPLY
mpb

Super User

Joined:

Jun 23, 2011

Look up the "contains" function in the pdf scripting docs installed with JMP. That function will do what you want.