add func SearchStringCurrentBuffer