explode(separator, OriginalString, NoOfElements) or str_split(string $string, int $length = 1): array string The input string. length Maximum length of the chunk.