find_first_of of string conflicts for special char pie "|"
<p>In the following code i am finding "||" in a text which contains "|", but still it says it exist ? how to resolve this ?</p>

<pre><code>std::string  sInputText = "test||111";
std::string delimeter = "||";

int pos = 0;
found = sInputText.find_first_of(delimeter);
if (found == string::npos)
{

}
</code></pre>