I am trying to scan a string ("Exception") from a big log file and put it in to an array of characters. Is there any way I can scan the entire file and get that particular string (i.e. "Exception") out of the file using the Scanfile or any other function. I was unable to find a modifier in the Scanfile function that serves the purpose. Are there any suggestions?