一系列 find() 查詢演算法返回 basic_string::npos(值為 -1)表示“未找到模式”。
find()
basic_string::npos
有關字串演算法的更多資訊(包括互動式示例)