not quite sure about the why or what with your method, but what about using substr...
substr(string, start, length)
so $first12 = substr($wholething, 0, 12);
or if you're using MySQL, let it do the work for you...
SELECT substring(Field1, 1, 12) AS First12, Field2, Field3 from Table;
is this what you're after?
dom
🙂