## String::Trim() const method


يزيل جميع أحرف المسافات البيضاء من بداية ونهاية السلسلة.

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


### ReturnValue

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

## انظر أيضًا

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


يزيل جميع تكرارات الحرف الممرَّر من بداية ونهاية السلسلة.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| ch | char_t | الرمز للإزالة. |

### ReturnValue

نتيجة الإزالة.

## انظر أيضًا

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


يزيل جميع تكرارات الأحرف الممرَّرة من بداية ونهاية السلسلة.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| anyOf | const ArrayPtr\<char_t\>\& | [Array](../../array/) من الأحرف للإزالة. |

### ReturnValue

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

## انظر أيضًا

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


يزيل جميع تكرارات الأحرف الممرَّرة من بداية ونهاية السلسلة.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| anyOf | const String\& | [String](../) من الأحرف للإزالة. |

### ReturnValue

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

## انظر أيضًا

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