<?php $string = 'ADJKANKNAKLNKALNFKLANFKLNAKLFNKALN'; [$first5, $string] = preg_split('~.{5}\K~', $string, 2); var_export([$first5, $string]);
You have javascript disabled. You will not be able to edit any code.