moose2004 Posted May 14, 2010 Share Posted May 14, 2010 How do i search an array and if value is found return the index of that value? private ArrVals = {"a", "b", "c", "d"} If I search for "c". I want to return 2 Link to comment Share on other sites More sharing options...
AzeoTech Posted May 16, 2010 Share Posted May 16, 2010 Assuming you are in the more recent releases of DAQFactory: search(arrVals == "c") Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.