STRCMPI STRCMPI String Compare Case Insensitive Function Usage Compares two strings for equality ignoring case. The general syntax for its use is p = strcmpi(x,y) where x and y are two strings, or cell arrays of strings. See strcmp for more help.