strncmp
📝 Syntax
📥 Input argument
📤 Output argument
📄 Description
💡 Example
🔗 See also
🕔 History
Version
📄 Description
Last updated
Last updated
strncmp('Nelson', 'nelSon', 3)
strncmp('Nelson', 'Nelson', 3)
A = {'Nel', 'son'; 'Toolboxes', 'Modules'}
B = {'Handle', 'Struct'; 'Toolboxes', 'Modules'}
C = {'C', 'Contents'; 'Nel', 'son'}
strncmp(A, B, 2)
strncmp(A, C, 2)
strncmp(C, 'C', 4)