Escape sequences might not always be necessary with the LIKE operator, but usually they are.
//Journal_Article[@Title LIKE “Analysis of ““The Time Machine”” %”]
Because the title of the article contains the name of the book in double quotation marks, “The Time Machine”, these internal double quotation marks must be escaped.
This example shows how wildcards % and _ are used to find a book in which the spelling of the title is uncertain.
Because the search string in this example contains the underscore _ as a regular character (not a wildcard), you can escape the underscore with an exclamation point character !. Any single character can be used as an escape character.
In this query, wildcard characters are used as both regular characters (_ escaped by \) and as wildcards (_ ) to catch both uppercase and lowercase versions of the word “Usage”, as well as % to catch multiple endings of the string.
You can also use an escape character as a regular character. To do so, precede the escape character with itself, as in the example to search for “Yahoo!”.
