| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > FuzzyClass > FuzzyClass Methods >====== SetOption (set fuzzymatch options) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[match find query matches .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[graphclass .htm|{{btn_next_n.gif|Next page}}]] | | || **SetOption(**//whichoption//**,**// value//**)** {{blk2blue.jpg|blk2blue.jpg}} | **SetOption** | Set the Ignore Case and Word Only options. | | //whichoption// | An integer constant, variable, EQUATE, or expression that specifies which option to set. The equates for these options are located in ABFUZZY.INC. MatchOption:NoCase sets the Ignore Case option. MatchOption:WordOnly sets the Word Only option. | | //value// | An integer constant, variable, EQUATE, or expression that specifies the value for the option. A value of one (1 or True) will set the option on; a value of zero (0 or False) will turn the option off. The default value is True. | The **SetOption** method logically sets one of the two options available for FuzzyMatching. These are //Ignore Case// and //Word Only//. When //Ignore Case// is set the query is case insensitive. //Word Only// finds the query value only if it is a separate word (denoted by a space directly before and directly after the text. **Return Data Type:**     BYTE **Example:** | FuzzyMatcher.SetOption(MatchOption:NoCase, 1)   !set for case insensitive search | | **FuzzyMatcher.SetOption(MatchOption:WordOnly, 0) !turn off word only search** |