Posted by Rami Elomaa on 05/11/07 06:32
"Man-wai Chang" <toylet.toylet@gmail.com> wrote in message news:4643d5b9$1@127.0.0.1... > > How could I check whether a string variable contains nothing but space? > empty() does not work unless the string variable is "". preg_match('#^ +$#', $var) -- Rami.Elomaa@gmail.com "Good tea. Nice house." -- Worf
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming