The author of the book is right. There are only four places where strings are inserted. Two times on line 4, one time on line 9 and one time on line 10. The fifth occurence of a format character is not a string. It can be seen on line 12-13, that a Boolean value is being inserted.