procedure tform1.button1click(sender: tobject);
      var
      searchoptions: tstringsearchoptions;
      begin
      searchoptions := [];
      if checkbox1.checked then
      include(searchoptions, sodown);
      if checkbox2.checked then
      include(searchoptions, somatchcase);
      if checkbox3.checked then
      include(searchoptions, sowholeword);
      searchedit(memo1, edit1.text, searchoptions);
      memo1.setfocus;
      end;
      ///////end searchbuf
      ━━━━━━━━━━━━━━━━━━━━━
      首部 function soundex(const atext: string; alength: tsoundexlength = 4):
      string; $[strutils.pas
      功能 返回探测字符串
      说明 根据探测法(soundex)可以找到相进的字符串;http://www.nara.gov/genealogy/coding.html
      参考 <null>
      例子 edit2.text := soundex(edit1.text, spinedit1.value);
      ━━━━━━━━━━━━━━━━━━━━━
      首部 function soundexint(const atext: string; alength: tsoundexintlength =
      4): integer; $[strutils.pas
      功能 返回探测整数
      说明 alength的值越大解码准确率越高
      参考 <null>