I am looking for a JSL script command to "keep" only specified column variables, and delete all other variables in the current data table.
This would be the inverse of the specified command: dt << Delete Columns( :A, :B, ... :N);
Ideally a more efficient keep command would appear like:
dt = Current Data Table( );
dt << Keep Columns ( :time, :day, :location );
(outcome = Delete all columns that do not equal :time, :day, :location).
Thanks.