char *str="a20;e40;i10"; float a; float e; sscanf( str, "a%f;e%f;", &a, &e );
char *str="a20;e40;i10"; int a; int e; sscanf( str, "a%d;e%d;", &a, &e );