string.strcmpi
string: TF = strcmpi (A, B)
Compare strings (case insensitive).
TF is true, if string A is lexicographically equal to
B, disregarding case of alphabetic characters. If one input is a
string array, the other input can be a string array, a character vector,
or a cell array of character vectors.
If either A or B is a string array or a cell array of character vectors, then a logical array TF of the same size is returned, containing the values described above for every member of the array. In this case, the other argument may also be a string array or a cell array of character vectors (of the same size or scalar), or a character vector.
Source Code: string