Here is the example: <?php
$string = 'asfddsaz'; if (eregi('\s', $string)) { echo "Whitespace present"; }else { echo "NO Whitespace present"; } ?> Why does the above return true? There is no whitespace in the string. What am I missing? Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php