As the post subject implies, I'm trying to find the loc # of a col identified by name in a given data file. I have the column name. Here is my code:
column_names = datatable << Get Column Names();
Write(column_names);
column_position = loc(column_names, "ARBITRARY COLUMN TITLE/NAME");
Write(column_position);
Write(column_names) works but Write(column_position) outputs an empty matrix []. I don't know why this doesn't work. Any thoughts? I copy pasted the title of the column name, replaced for confidentiality but here denoted by "ARBITRARY COLUMN TITLE/NAME", so it should match exactly.
Mike