Would there be a way that I would be able to easily seperate a code:
OTMICR
By every two characters? For example I want to split it into an array or respective variables like so:
var1="OT"; var2="MI"; var3="CR";
$string = "OTMICR"; $string_array = str_split($string,"2");