DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
how to find a word in string in java
String s = "I have an orange"; if (s.indexOf("orange") != -1){ System.out.println("orange found"); }
PREVIOUS
NEXT
Tagged:
#find
#word
#string
#java
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit