# Sandbox.SandboxSystemExtensions.TrimQuoted

```csharp
static string TrimQuoted(string str, bool ignoreSurroundingSpaces = False)
```

The string might start and end in quotes ( ", ' ), remove those if that is the case.

### Parameters

- `str` (`string`)
- `ignoreSurroundingSpaces` (`bool`), default `False`

### Returns

`string`

Declared in [Sandbox.SandboxSystemExtensions](/api/Sandbox.SandboxSystemExtensions).
Assembly: `Sandbox.System`.
