Escape the dot in PHP sscanf?

yusof786

New Member
This doesn't work:\[code\]list($value) = sscanf('foo.bar','%s.bar');echo $value; //foo.bar\[/code\]While this does:\[code\]list($value) = sscanf('foo bar','%s bar');echo $value; //foo\[/code\]Any suggestions are really appreciated.Thanks.
 
Back
Top