powered by
Logical test if two character elements are identical
strcmp(s1, s2)
a logical element of the same type as the input
first character element (string, vector or matrix)
second character element (string, vector or matrix)
strcmp("yes", "no") strcmp("yes", "yes") strcmp("no", "no")
Run the code above in your browser using DataLab