Is there any way (I know there is, I mean what is the way) to find a substring in a string without using contains(CharSequence cs) method, or any other java String library clas methods?
Why do you want to solve some String related question without using the most
obvious solution offered by that same String class? I see these silly questions
almost every day: multiply two numbers without using the multiplication operator *.
Find a substring in a String without using any String methods. Find a largest number
without using arrays etc etc. What's up with you folks?
kind regards,
Jos