This is what i asked you on email , There is another solution using sscanf() but i must say this one is much more simpler!