Is there a function to copy X number of chars from the beginning of a string into another var?
substr($source, 0, $x);
an example of this is
$old = "this is a test";
$new = substr($olc, 0, 4);
//$new = this