<?php $line = "HELLO WORLD HOW ARE YOU I AM JUST FINE THANKS"; var_dump(regex_split($line)); function regex_split(string $line) : array { preg_match('/(.{9})(.{20})(.*)/s', $line, $m); array_shift($m); return $m; }
You have javascript disabled. You will not be able to edit any code.