Skip to content

Kirby 4.5.0

Str::length()

A UTF-8 safe version of strlen()

Str::length(?string $string = null): int

Parameters

Name Type Default
$string string|null null

Return type

int

Parent class

Kirby\Toolkit\Str