mem_compareΒΆ
mem_compare compares two strings or string matrices which may contain 0-characters.
-
nRet = mem_compare(string1, string2)
Return Value
nRet is -1, if string1 < string2, 0 if string1 is equal to string2 and 1, if string1 > string2.If string1 and string2 are vectors or matrices nRet is a real vector or read matrix.
Parameters
-
string1
string1 is a scalar string or a string matrix.
-
string2
string2 is a scalar string or a string matrix.
History
Version | Description |
---|---|
4.2.0 | New |
See also
id-2054430