<?php $str = 'dave@random'; $a = ereg('@', $str); $b = strpos($str, '@') !== FALSE;
You have javascript disabled. You will not be able to edit any code.