C-Style String Comparisons

version (1.86 KB) by Rahul Prem Nazeer
Implements C-style string comparison operations


Updated 18 Jan 2008

View License

Here are two files cstrcmp.m and cstrcmpi.m which gives the result same as of those in C-style string comparisons instead of the boolean values returned by matlab string compare functions.

Cite As

Rahul Prem Nazeer (2022). C-Style String Comparisons (https://www.mathworks.com/matlabcentral/fileexchange/18347-c-style-string-comparisons), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: String comparison

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!