I cannot find if there is a method that checks if a String contains another String. For example, if there is a code number, say 727anabba, and I want to check if a code number includes abba, how do I do this? is there a function like: boolean codenumber.contains('abba')?? or something like that?
For details on indexOf() and other exciting String methods, take a look at the String class documentation. And don't miss out on all of that other useful information found in The API Specification. [ October 12, 2003: Message edited by: Dirk Schreckmann ]