I only see strings with only numbers. this is my string. SMUL 9 A B How can I get the number 9 as int type. Other possible string may be: SMUL 13 A B SMUL 43 100 21
                +1 
                A: 
                
                
              
            You can use the atoi library function:
   int atoi(const char *nptr);
                  Nathan Fellman
                   2010-08-23 07:25:38