Roger, Why not use the preg_match function to search the string for any numbers? Look at the www.php.net website for information on it's use. Tony --- On Tue, 8/17/10, Roger Head <headrog@xxxxxxxxx> wrote: From: Roger Head <headrog@xxxxxxxxx> Subject: number in a string To: php-objects@xxxxxxxxxxxxxxx Date: Tuesday, August 17, 2010, 6:35 AM What's the best way to check if there is a number in a string? Roger Head (709)726-4323(home) (709)690-9006(cell), (709)729-0481(work) www.nlscoreboard.com [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]