strcmpiComparing two character arrays in a case-insensitive manner
strcmpi(s1, s2)s1 and s2 should be arrays of characters.s1 and s2 have the same sizes and have the same elements (case-insensitive), and returns logical 0 if otherwise.s1 or s2 is not a character array.strcmpi compares strings in a case-insensitive manner.% Case-insensitive compare
strcmpi('Aabc🚂','aabc🚂')
strcmpi('aabc🚂','aabc🚂')
ans =
1
ans =
1