## String::Trim() const method


Verwijdert alle witruimte‑tekens zowel aan het begin als aan het einde van de string.

```cpp
String System::String::Trim() const
```


### ReturnValue

[String](../) with no whitespaces at beginning or end.

## Zie ook

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


Verwijdert alle voorkomens van het opgegeven teken zowel aan het begin als aan het einde van de string.

```cpp
String System::String::Trim(char_t ch) const
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| ch | char_t | Symbool om te verwijderen. |

### ReturnValue

Verwijderingsresultaat.

## Zie ook

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## String::Trim(const ArrayPtr\<char_t\>\&) const method


Verwijdert alle voorkomens van de opgegeven tekens zowel aan het begin als aan het einde van de string.

```cpp
String System::String::Trim(const ArrayPtr<char_t> &anyOf) const
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| anyOf | const ArrayPtr\<char_t\>\& | [Array](../../array/) van tekens om te verwijderen. |

### ReturnValue

[String](../) without removed characters.

## Zie ook

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


Verwijdert alle voorkomens van de opgegeven tekens zowel aan het begin als aan het einde van de string.

```cpp
String System::String::Trim(const String &anyOf) const
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| anyOf | const String\& | [String](../) van tekens om te verwijderen. |

### ReturnValue

[String](../) without removed characters.

## Zie ook

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