Back to Core Functions
strcmp
Compare strings
Syntax
tf = strcmp(s1, s2)
Description
Returns 1 if the strings are identical, 0 otherwise.
Parameters
| Name | Description |
|---|---|
| s1 | First string |
| s2 | Second string |
Returns
1 if equal, 0 otherwise