sscanf

sscanf -- Parses input from a string according to a format

Description

mixed sscanf ( string str, string format [, string var1])

Exempel 1 . sscanf( ) Example




If optional parameters are passed, the function will return the number of assigned values. The optional parameters must be passed by reference.

Exempel 2 . sscanf( ) - using optional parameters