I have a variable of type std::string
. I want to check if it contains a certain std::string
. How would I do that?
Is there a function that returns true if the string is found, and false if it isn't?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…