FEATool  v1.8
Finite Element Analysis Toolbox
 All Files Functions Pages
cstrcmp.m File Reference


CSTRCMP Compares cells of strings.

[ S ] = CSTRCMP( C1, C2 ) Compares each element of C1 to the elements in C2. Returns the first element in C1 found in C2. C1 can be a string or a cell of strings. If the flac F_NFFIRST is set and no strings were found S will return the first (default) entry in C1.

See also
strcmp, strncmp, strcmpi, strfind, deblank, regexp