In Java 1.5, the String class has been added (CharSequence s) . This method
Returns true if and only if this string contains the specified sequence of char values.
How would you do this in versions of Java prior to 1.5, in particular in version 1.4.2?
source share