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