LSU Libraries User Instruction
Searching Techniques and Strategies Tutorial

Boolean Searching - XOR

The last operator we will cover here is the "XOR," or the "exclusive or" operator. XOR is used to to locate records matching any of the specified terms but not all of the specified terms. For example, "dogs XOR cats" will find items with the word "dog" or the word "cat" in the record, but will not return items which have both terms in the record.

A or B, excluding A and B

The purple space represents all the records that would be returned by the search "dog xor cat."

Back            Next

Comments | LSU Libraries | Louisiana State University | Library Instruction
Baton Rouge, LA 70803
Tel (225) 578-5652 | Fax (225) 578-9432
Copyright © 1998-2014 LSU Libraries
Last Updated: 2008
LSU Logo