strStr by brute force in Java