| MATLAB Compiler | ![]() |
bool operator>(const mwString& str) const
Compare input string with this string and return true if this string is lexicographically greater than input string.
C++ syntax
#include "mclcppclass.h" mwString str("This is a string"); mwString str2("This is another string"); bool ret = (str > str2); // ret should have a value of // false.
Arguments
Return value
Description
Use this operator to test two strings for order.
| bool operator<=(const mwString& str) const | bool operator>=(const mwString& str) const | ![]() |
© 1994-2005 The MathWorks, Inc.