System::String::Equals method
Contents
[
Hide
]String::Equals(const String&) const method
String equality comparison. Uses System::StringComparison::Ordinal comparison mode.
bool System::String::Equals(const String &str) const
Parameter | Type | Description |
---|---|---|
str | const String& | String to compare against the current one. |
ReturnValue
true if strings match, false otherwise.
See Also
- Class String
- Class String
- Namespace System
- Library Aspose.TeX for C++
String::Equals(const String&, System::StringComparison) const method
String equality comparison. Several modes provided by StringComparison enumeration are supported.
bool System::String::Equals(const String &str, System::StringComparison comparison_type) const
Parameter | Type | Description |
---|---|---|
str | const String& | String to compare against the current one. |
comparison_type | System::StringComparison | Comparison mode (see System::StringComparison for details). |
ReturnValue
true if strings match using selected comparison type, false otherwise.
See Also
- Class String
- Enum StringComparison
- Class String
- Namespace System
- Library Aspose.TeX for C++
String::Equals(const String&, const String&) method
Equal-compares two strings using Ordial comparison mode.
static bool System::String::Equals(const String &strA, const String &strB)
Parameter | Type | Description |
---|---|---|
strA | const String& | First string to compare. |
strB | const String& | Second string to compare. |
ReturnValue
true if strings match, false otherwise.
See Also
- Class String
- Class String
- Namespace System
- Library Aspose.TeX for C++
String::Equals(const String&, const String&, System::StringComparison) method
Equal-compares two strings.
static bool System::String::Equals(const String &strA, const String &strB, System::StringComparison comparison_type)
Parameter | Type | Description |
---|---|---|
strA | const String& | First string to compare. |
strB | const String& | Second string to compare. |
comparison_type | System::StringComparison | Comparison mode. |
ReturnValue
true if strings match, false otherwise.
See Also
- Class String
- Enum StringComparison
- Class String
- Namespace System
- Library Aspose.TeX for C++