TIBCO Adapter SDK C++ Reference
MString::compare
MString
Compare this MString with a specified string.

Compare up to n0 elements of the controlled sequence beginning with position p0, or the entire controlled sequence if these arguments are not supplied, to the operand sequence.

Return Value
* A negative value if the first differing element in the controlled sequence compares less than the corresponding element in the operand sequence (as determined by T::compare), or if the two have a common prefix but the operand sequence is longer.

* Zero if the two are exactly equal element by element and are the same length.

* A positive value otherwise.

Declaration
Mu4 compare(Mu4 p0, Mu4 n0, const MString& str) const;
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.