| MATLAB Compiler | ![]() |
bool operator==(const mwString& str) const
Test two mwStrings for equality.
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 equality.
| mwString& operator=(const char* str) | bool operator!=(const mwString& str) const | ![]() |
© 1994-2005 The MathWorks, Inc.