## String::Contains(char16_t) const method


Vérifie si la chaîne contient le caractère donné.

```cpp
bool System::String::Contains(char16_t value) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| value | char16_t | Recherche du caractère. |

### ReturnValue

true si le caractère est présent, false sinon.

## Voir aussi

* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::Contains(const String\&) const method


Vérifie si str est une sous‑chaîne de la chaîne actuelle.

```cpp
bool System::String::Contains(const String &str) const
```


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

### ReturnValue

true si la sous-chaîne est présente, false sinon.

## Voir aussi

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