I'm feeling a bit stupid today
how do I truncate a string to the
first two [a-zA-Z] characters ?
this sure isn't working
<snip>
$test = "jerry";
$test = ereg_replace("^\w*", "^[a-zA-Z]{2}" ,$test);
</snip>
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]