yeah true, i was tired when i replied. but who would pass an integer through that function. i suppose you could by getTrunc((string) $integer, 2);
but anyway, all i wanted to do was pass on the little - if (!isset($string{$count})){ - i like it and tbh it's pretty new to me :)