sscanf

Example: sscanfInput-Output Functions

Reads formatted input from a string.

int sscanf( const char *buffer, const char *format_string, args);

buffer The target buffer.
format_string One or more formatting characters.
args One or more print arguments.

For sscanf details, refer to your C language documentation.

Return Values

If successful, the function returns the number of items successfully read. This count does not include any ignored fields.