FUNC :: boolean is_alpha ( string test [, boolean add_numeric [, string additional ]] )

Returns TRUE if is alpha, FALSE if not. boolean add_numeric default value are: false Example:

$test = 'XPertMailer V.2';

// including numbers, space and dot
echo FUNC::is_alpha($test, true, ' .') ? 'Yes' : 'No';

// by default, only letters (small and capital)
// echo FUNC::is_alpha($test) ? 'Yes' : 'No';

[ Comments ] Last update: Wednesday, June 28, 2006