strlen
substr
strpos
Return part of a string.
substr(string $string, int $offset, ?int $length): string