# Rotation.Parse

## Overload 1

```csharp
static Rotation Parse(string str)
```

Given a string, try to convert this into a quaternion rotation. The format is "x,y,z,w"

### Parameters

- `str` (`string`)

### Returns

`Rotation`

## Overload 2

```csharp
static Rotation Parse(string str, System.IFormatProvider provider)
```

### Parameters

- `str` (`string`)
- `provider` (`System.IFormatProvider`)

### Returns

`Rotation`

Declared in [Rotation](/api/Rotation).
Assembly: `Sandbox.System`.
