Last active
November 13, 2016 21:04
-
-
Save TwiN/19318d06d9c0a578820d0e9dde312598 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static boolean isInString(String haystack, String needle) { | |
return (haystack.indexOf(needle) >= 0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment