PHP String sscanf() FunctionThe sscanf() is predefined PHP function. It is used to return parses input from a string according to a format. If we will pass two parameters in the function, the data will be returned as an array. Related Function:
Syntax:
Example 1Output: int(7) Example 2Output: int(18) int(6) Example 3Output: string(10) "javatpoint" Example 4Output: Array ( [0] => We [1] => are [2] => Learning [3] => PHP [4] => 7 ) Next TopicPHP String |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India