如何检查字符串中是否存在字符串?
How to check if string exists within a string?
假设我有字符串 "My name is Henricksen"
如何检查字符串中是否存在 "Henricksen"
名称?
"My name is Henricksen".contains("Henricksen")
假设我有字符串 "My name is Henricksen"
如何检查字符串中是否存在 "Henricksen"
名称?
"My name is Henricksen".contains("Henricksen")