## String::EndsWith(const String\&) const method


Vérifie si la chaîne se termine par la sous‑chaîne spécifiée.

```cpp
bool System::String::EndsWith(const String &value) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| value | const String\& | Chaîne de recherche. |

### ReturnValue

true si la chaîne se termine par la sous-chaîne spécifiée, false sinon.

## Voir aussi

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::EndsWith(const String\&, bool, const SharedPtr\<System::Globalization::CultureInfo\>\&) const method


Vérifie si la chaîne se termine par la sous‑chaîne spécifiée.

```cpp
bool System::String::EndsWith(const String &value, bool ignoreCase, const SharedPtr<System::Globalization::CultureInfo> &culture=nullptr) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| value | const String\& | Chaîne de recherche. |
| ignoreCase | bool | Spécifie si la comparaison est insensible à la casse. |
| culture | const SharedPtr\<System::Globalization::CultureInfo\>\& | Culture à utiliser lors de la comparaison de chaînes. |

### ReturnValue

true si la chaîne se termine par la sous-chaîne spécifiée, false sinon.

## Voir aussi

* Class [String](../)
* Typedef [SharedPtr](../../sharedptr/)
* Class [CultureInfo](../../../system.globalization/cultureinfo/)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::EndsWith(const String\&, System::StringComparison) const method


Vérifie si la chaîne se termine par la sous‑chaîne spécifiée.

```cpp
bool System::String::EndsWith(const String &value, System::StringComparison comparisonType) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| value | const String\& | Chaîne de recherche. |
| comparisonType | System::StringComparison | mode [Comparison](../../comparison/), voir [System::StringComparison](../../stringcomparison/) pour plus de détails. |

### ReturnValue

true si la chaîne se termine par la sous-chaîne spécifiée, false sinon.

## Voir aussi

* Class [String](../)
* Enum [StringComparison](../../stringcomparison/)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
