SearchString method implemented