## TrimEnd(params char[]) {#trimend_2}

Removes all the trailing occurrences of a set of characters specified in an array.

```csharp
public RichText TrimEnd(params char[] trimChars)
```

| Parameter | Type | Description |
| --- | --- | --- |
| trimChars | Char[] | The trim chars. |

### Return Value

The [`RichText`](../).

### See Also

* class [RichText](../)
* namespace [Aspose.Note](../../richtext/)
* assembly [Aspose.Note](../../../)

---

## TrimEnd(char) {#trimend_1}

Removes all the trailing occurrences of a character.

```csharp
public RichText TrimEnd(char trimChar)
```

| Parameter | Type | Description |
| --- | --- | --- |
| trimChar | Char | The trim char. |

### Return Value

The [`RichText`](../).

### See Also

* class [RichText](../)
* namespace [Aspose.Note](../../richtext/)
* assembly [Aspose.Note](../../../)

---

## TrimEnd() {#trimend}

Removes all the trailing white-space characters.

```csharp
public RichText TrimEnd()
```

### Return Value

The [`RichText`](../).

### See Also

* class [RichText](../)
* namespace [Aspose.Note](../../richtext/)
* assembly [Aspose.Note](../../../)


