boolean contains (String s1, String s2)
boolean contains (String s1, String s2)
s1
contains String s2
.Name | Type | Description |
---|---|---|
s1 | String | A String to test. |
s2 | String | A String to test, if it is existing in the String s1 . |
Type | Description |
---|---|
boolean | true if s1 contains s2 , false otherwise. |