Sscanf2 Hot! Here

#include <stdio.h> #include <regex.h>

int ret = sscanf2(data, "%as %d", &name, &age); sscanf2

If you wanted to implement %as yourself: #include &lt;stdio

#include <stdio.h> #include <regex.h>

int ret = sscanf2(data, "%as %d", &name, &age);

If you wanted to implement %as yourself: