# contains

Checks if the given string contains the given value

****

- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Toolkit/V.php#L309>

****

```php
V::contains($value, $needle): bool
```

## Parameters

| Name | Type | Default | Description |
| ---- | ---- | ---- | ---- |
| `$value` (required) | `mixed` | – | – |
| `$needle` (required) | `mixed` | – | – |

## Return type

`bool`