note 19430 added to function.sscanf

From: Date: Wed, 27 Feb 2002 08:38:53 +0000
Subject: note 19430 added to function.sscanf
Groups: php.notes 
Request: Send a blank email to php-notes+get-27113@lists.php.net to get a copy of this message
After playing around with this for a while, I found that if you use %[^[]] instead of %s (since php has problems with spaces when using %s) it works nicely. For those that aren't familiar with regular expressions, %[^[]] basically matches anything that isn't nothing. Hope this helps. - Gabe -- http://www.php.net/manual/en/function.sscanf.php http://master.php.net/manage/user-notes.php?action=edit+19430 http://master.php.net/manage/user-notes.php?action=delete+19430 http://master.php.net/manage/user-notes.php?action=reject+19430

« previous php.notes (#27113) next »