para = {"Age","Orientation","Preference","Salary","Number","SN","Years","Service"} //some of the column names needed
main_table_col_remain = main_tab << get column names(string);
For( i = N Items( main_table_col_remain ), i > 0, i--,
If(!Contains( main_table_col_remain[i],<FONT color="#FF0000"> ??</FONT> ) ,
Remove From( main_table_col_remain, i )
));
What do i put in the "??" part? I've been circling around this code for a while now. I want to remove column names not stored in para.