Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
String ORIGINAL = "This is my demo string"; String search = "demo";
如果“demo”退出到 ORIGINAL 中,我想得到结果为真或假,那么结果为真,否则返回假
if(ORIGINAL.contains(search)) //found else //not found