use truncate_string($string, 6, 6);