Original Post
I want to read the part between quotation marks of the fowllowing line into destination: shader "models/monsters/zombie/fatty/fatty" I used this: sscanf(currLine, "%*s \"%s\"", destination); but when sscanf returns, destination has one more char than I expected: the last quotation mark. but in the format string, I've already explicitly written the last quotation mark as \", why would it still count it belonging to the %s part?