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