C++ Math Library Reference | ![]() ![]() |
Compare first n characters of strings ignoring case
C++ Prototype
mwArray strncmpi(const mwArray &str1, const mwArray &str2, const mwArray &n);
C++ Syntax
#include "matlab.hpp" mwArray S, T, n; // Input argument(s) mwArray k, TF; // Return value k = strncmpi("str1"
,"str2"
,n); TF = strncmpi(S,T,n);
MATLAB Syntax
k = strncmpi('str1'
,'str2'
,n) TF = strncmpi(S,T,n)
See Also
strncmpi
Calling Conventions![]() | strncmp | strrep | ![]() |