# TrimmingMethod enum

Namespace: [Grasshopper2.Extensions](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.extensions.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum TrimmingMethod
```

Enumerates the possible behaviours for trimming strings.

## Values

| Name | Value | Description |
| --- | --- | --- |
| TrimStart | 0 | Characters are removed from the start of a string. |
| TrimEnd | 1 | Characters are removed from the end of a string. |
| TrimMiddle | 2 | Characters are removed from the middle of a string. |
| EllipsisStart | 3 | Characters are removed from start of a string and an ellipsis symbol is inserted. |
| EllipsisEnd | 4 | Characters are removed from the end of a string and an ellipsis symbol is inserted. |
| EllipsisMiddle | 5 | Characters are removed from the middle of a string and an ellipsis symbol is inserted. |
| QuoteEllipsisStart | 6 | Characters are removed from the start of a string and a […] is inserted. |
| QuoteEllipsisEnd | 7 | Characters are removed from the end of a string and a […] is inserted. |
