Early implementation of sscanf()