interface SearchFunc { (source: string, subString: string): boolean; }