note 120670 added to function.sprintf

From: Date: Sun, 19 Feb 2017 23:03:11 +0000
Subject: note 120670 added to function.sprintf
Groups: php.notes 
Request: Send a blank email to php-notes+get-208775@lists.php.net to get a copy of this message
Just wanted to add that to get the remaining text from the string, you need to add the following as a variable in your scanf %[ -~] Example: sscanf($sql, "[%d,%d]%[ -~]", $sheet_id, $column, $remaining_sql); ---- Server IP: 72.52.91.14 Probable Submitter: 172.125.6.160 ---- Manual Page -- http://php.net/manual/en/function.sprintf.php Edit -- https://master.php.net/note/edit/120670 Del: integrated -- https://master.php.net/note/delete/120670/integrated Del: useless -- https://master.php.net/note/delete/120670/useless Del: bad code -- https://master.php.net/note/delete/120670/bad+code Del: spam -- https://master.php.net/note/delete/120670/spam Del: non-english -- https://master.php.net/note/delete/120670/non-english Del: in docs -- https://master.php.net/note/delete/120670/in+docs Del: other reasons-- https://master.php.net/note/delete/120670 Reject -- https://master.php.net/note/reject/120670 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#208775) next »