/* Collection of code snippets by Arne Vajhøj */
/* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) */
#include <stdio.h>
#include <stdlib.h>

int main()
{
   char *streng = "hej40okds99";
   int tal1,tal2;
   tal1 = atoi(streng + 3);
   tal2 = atoi(streng + 9);
   printf("%d %d\n",tal1,tal2);
   return 0;
}
