I have a struct with about thousands of field names and corresponding values. The field names are mixed in capitalization but are unique as far as name is concerned. I need to look up for values. I know the field name for which I am looking for value but I do not know the exact case of the letters.
A sample code is:
A = struct();
A.cat = 14;
A.Dog = 11;
A.COw = 13;
How do I look up what value is for cow in struct A ?
Thanks