TIBCO Adapter SDK C++ Reference
MWString::compare
MWString
Compare this MWString with a specified string.
Remarks
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.
Returns
This method returns:

  • 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 MWString& str) const;
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.