Skip to content

Kirby 4.8.0

contains

Checks if the given string contains the given value

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

Parameters

Name Type Default
$value * mixed –
$needle * mixed –

Return type

bool