> I am using
> substr("$f", 0, 1);
> to get the first character of a string but what to be able to tell if
> the first character is a digit or a letter is there a way to do this?ereg( "^[0-9]", $f ) will let you know if the first character is a digit or not... Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

