Member of the string class.
c = strncmpi(a, b, n)
Performs a case-insensitive comparison of the first n characters in input strings.
| Name | Description |
| a | Specifies a string. |
| b | Specifies a string. |
| n | Specifies the number of characters in a and b to compare. n is a positive integer. |
| Name | Description |
| c | Returns 1 if the first n characters in a and b are the same. Otherwise, this function returns 0. c is a Boolean. |
A = 'this is a test for findstr'
B = 'This can not be true'
C = strncmpi(A, B, 3)