## String::TrimEnd() const method


删除字符串结尾的所有空白字符。

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


### ReturnValue

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

## 另见

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


删除字符串结尾传入字符的所有出现。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| ch | char_t | 要移除的符号。 |

### ReturnValue

移除结果。

## 另见

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


删除字符串结尾传入字符集的所有出现。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| anyOf | const ArrayPtr\<char_t\>\& | [Array](../../array/) 用于移除的字符数组。 |

### ReturnValue

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

## 另见

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


删除字符串结尾传入字符集的所有出现。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| anyOf | const String\& | [String](../) 用于移除的字符。 |

### ReturnValue

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

## 另见

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