If you input type is static ... i.e. they all follow the form "pn1000-12-453", it would be something like this:
$var = "pn1000-12-453";
$arry = split("-", $var);
$pn=$arry[0];
$pn2=$arry[1];
$pn3=$arry[2];
$pn3_1=$arry[2]{0};
$pn3_2=$arry[2]{1};
$pn3_3=$arry[2]{2};
I'm sure there are other ways to do it, but this is at a glance