strncmpi
Compare the first n characters of two strings (case-insensitive).
Syntax
Section titled “Syntax”tf = strncmpi(str1, str2, n)Description
Section titled “Description”Like strncmp but case-insensitive.
Example
Section titled “Example”strncmpi('Hello', 'HELP', 3) % 1