Méthode System::String::Equals
Contenu
[
Cacher
]String::Equals(const String&) const method
String equality comparison. Uses System::StringComparison::Ordinal comparison mode.
bool System::String::Equals(const String &str) const
| Paramètre | Type | Description |
|---|---|---|
| str | const String& | String à comparer avec l’actuelle. |
ReturnValue
vrai si les chaînes correspondent, faux sinon.
Voir aussi
- Class String
- Class String
- Namespace System
- Library Aspose.Font 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
| Paramètre | Type | Description |
|---|---|---|
| str | const String& | String à comparer avec l’actuelle. |
| comparison_type | System::StringComparison | Mode Comparison (voir System::StringComparison pour plus de détails). |
ReturnValue
true si les chaînes correspondent en utilisant le type de comparaison sélectionné, false sinon.
Voir aussi
- Class String
- Enum StringComparison
- Class String
- Namespace System
- Library Aspose.Font for C++
String::Equals(const String&, const String&) method
Compare deux chaînes en utilisant le mode de comparaison Ordinal.
static bool System::String::Equals(const String &strA, const String &strB)
| Paramètre | Type | Description |
|---|---|---|
| strA | const String& | Première chaîne à comparer. |
| strB | const String& | Deuxième chaîne à comparer. |
ReturnValue
vrai si les chaînes correspondent, faux sinon.
Voir aussi
- Class String
- Class String
- Namespace System
- Library Aspose.Font for C++
String::Equals(const String&, const String&, System::StringComparison) method
Compare deux chaînes.
static bool System::String::Equals(const String &strA, const String &strB, System::StringComparison comparison_type)
| Paramètre | Type | Description |
|---|---|---|
| strA | const String& | Première chaîne à comparer. |
| strB | const String& | Deuxième chaîne à comparer. |
| comparison_type | System::StringComparison | Mode Comparison. |
ReturnValue
vrai si les chaînes correspondent, faux sinon.
Voir aussi
- Class String
- Enum StringComparison
- Class String
- Namespace System
- Library Aspose.Font for C++