You're while loop looks quite a bit strange. Why are you dealing with a length variable, lenA? What's the point of that? Why are you creating a substring of the a String? Why not use one of the...
Type: Posts; User: curmudgeon
You're while loop looks quite a bit strange. Why are you dealing with a length variable, lenA? What's the point of that? Why are you creating a substring of the a String? Why not use one of the...
Don't look for common chars since char is not what you're interested in. Instead search for Strings within a String.