sscanf

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

Description

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

Esimerkki 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.

Esimerkki 2 . sscanf( ) - using optional parameters