Well according to this definition:
Quote:
The strstr function locates the first occurrence of the string string1 in the string string2 and returns a pointer to the beginning of the first occurrence.
|
I am guessing you are searching for something like:
As the definition says it will then return everything from 'cpu MHz' to the end of the string. SO maybe if you use strstr again but this time now look for the first
occurrence of a digit you will get what you are looking for.
If I have ballsed up what you are trying to do, then please let me know?