# Prose.UndoSubscript examples

Examples for [UndoSubscript](https://developer.rhino3d.com/api/gh2/type/grasshopper2.prose/undosubscript.md) in Grasshopper2.Prose.

## C#

```cs
using Grasshopper2;

// As an extension method
string result = text.UndoSubscript();

// As a static method
result = Prose.UndoSubscript(text);
```

## Python

```python
import clr
clr.AddReference('Grasshopper2')
import Grasshopper2
clr.ImportExtensions(Grasshopper2)

# As an extension method
result = text.UndoSubscript()

# As a static method
result = Grasshopper2.Prose.UndoSubscript(text)
```
