Java's equivalent of InStr

webmasterbeta

New Member
Hi,I need a function in Java that works the same as (or close to the same as)the InStr function in VB. The InStr function checks for one string insideanother one and returns the character number of where the match was found.All I need to do is check if one string exists inside another. Any ideas?Kent
 
Back
Top