This question shows research effort; it is useful and clear
-8
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
如果第二个字符串存在于第一个字符串中,我想比较两个字符串并返回 true。
@Test
public bool compareStrings{
String text1="hello world";
String text2="hello but some xyz world and xzy bla bla";
/* I want to check if text2 contains text1 */
}