<< mat2str | String type | newline >> |
res = matches(str, pattern) |
res = matches(str, pattern, 'IgnoreCase', true) |
a string, string array or cell of strings.
a string, string array or cell of strings.
a logical: true if the two matches and false otherwise.
matches("Nelson", 'nelSon')
matches("Nelson", 'Nelson')
str = ["yellow", "green", "blue", "brown"];
R = matches(str, ["yellow", "Brown"], 'IgnoreCase', true);
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET