Name | strcmp
|
Definition | strcmp(a:val(string),b:val(string)) : expr(int).
|
Defined in | strings.l
|
Implementation | builtin
|
Description | Compare strings a and b lexicographically and return an integer that is <0 if a<b, =0 if a=b, and >0 if a>b.
|
Note | The relational operators <, <=, =, !=, >= and > can be applied to strings. They call strcmp and return an appropriate boolean.
|