📅  最后修改于: 2022-03-11 14:49:24.481000             🧑  作者: Mango
stringtofind = "this is a string to find";
if (sb.indexof(stringtofind) > -1)
{
//string found
}
else
{
//string not found
}