compares the string1 and string2 like the C-library function, returning 0 on match, +1 if string1 > string2 and -1 if string1 < string2. This operation is asymmetrical. If either string1 or string2 are cell-arrays (not both simultaneously), then the return value rval will be a similar cell-array of strings.
cstrcmp('marry','marie') returns value +1