Posted by Chung Leong on 03/26/06 01:40
Fernando Rodríguez wrote: > Hi, > > How can I tell if all characters in a string are US ASCII? > > Thanks if(!preg_match('/[\\x80-\\FF]/', $s)) { ... }
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming