标签: android
String ORIGINAL = "This is my demo string"; String search = "demo";
如果“demo”退出到ORIGINAL然后结果为true,我想将结果显示为true或false,否则返回false
答案 0 :(得分:1)
if(ORIGINAL.contains(search)) //found else //not found