Changeset 3155


Ignore:
Timestamp:
03/02/10 11:59:35 (15 years ago)
Author:
Eric.Larour
Message:

Now returns index where it found the string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/String/ismemberi.m

    r1643 r3155  
    2121for i=1:length(list),
    2222        if strcmpi(string,list{i}),
    23                 flag=1;
     23                flag=i;
    2424                return
    2525        end
Note: See TracChangeset for help on using the changeset viewer.