<< strcat | String type | strcmpi >> |
res = strcmp(s1, s2) |
a string, string array or cell of strings.
a string, string array or cell of strings.
a logical: true if the two are identical and false otherwise.
strcmp('Nelson', 'nelSon')
strcmp('Nelson', 'Nelson')
A = {'Nel', 'son'; 'Toolboxes', 'Modules'}
B = {'Handle', 'Struct'; 'Toolboxes', 'Modules'}
C = {'C', 'Contents'; 'Nel', 'son'}
strcmp(A, B)
strcmp(A, C)
strcmp(C, 'C')
char.
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET