I have a string variable with content as follows:
(我有一个字符串变量,内容如下:)
varMessage =
"hi/thsid/sdfhsjdf/dfjsd/sdjfsdn
"
"/my/name/is/balaji.so
"
"call::myFunction(int const&)
"
"void::secondFunction(char const&)
"
.
.
.
"this/is/last/line/liobrary.so"
in above string i have to find a sub string ie
(在上面的字符串我必须找到一个子字符串即)
"hi/thsid/sdfhsjdf/dfjsd/sdjfsdn
"
"/my/name/is/balaji.so
"
"call::myFunction(int const&)
"
How can I find it?
(我该怎么找到它?)
I just need to determine whether the substring is present or not. (我只需要确定子串是否存在。)
ask by BSalunke translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…