# Prose.UndoSuperscript examples

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

## C#

```cs
using Grasshopper2;

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

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

## Python

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

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

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