<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[find_first_of]]></title><description><![CDATA[<p>Hi - ich weiß, es gibt eigtl genug Hilfe dafür und die Fkt ist ja nun auch ne sooo schwer zu begreifen etc - aber wo liegt hier der Unterschied, warum geht das eine und das andere nicht? :</p>
<pre><code class="language-cpp">string a = &quot;ABCDEFGHIJKLMNOP |ASD|HIER war das ENDE!!!123456789123456789123456789 |ASD|&quot;;
string seperator = &quot;|ASD|&quot;;
size_t position = a.find_first_of (seperator); // geht nicht
</code></pre>
<pre><code class="language-cpp">string a = &quot;ABCDEFGHIJKLMNOP |ASD|HIER war das ENDE!!!123456789123456789123456789 |ASD|&quot;;
string seperator = &quot;123456789123456789&quot;;
size_t position = a.find_first_of (seperator); // geht!!!
</code></pre>
<p>Danke, bin gerad schon total am Verzweifeln : &lt;</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/198486/find_first_of</link><generator>RSS for Node</generator><lastBuildDate>Fri, 02 Oct 2026 04:20:18 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/198486.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Nov 2007 22:07:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to find_first_of on Wed, 21 Nov 2007 22:07:34 GMT]]></title><description><![CDATA[<p>Hi - ich weiß, es gibt eigtl genug Hilfe dafür und die Fkt ist ja nun auch ne sooo schwer zu begreifen etc - aber wo liegt hier der Unterschied, warum geht das eine und das andere nicht? :</p>
<pre><code class="language-cpp">string a = &quot;ABCDEFGHIJKLMNOP |ASD|HIER war das ENDE!!!123456789123456789123456789 |ASD|&quot;;
string seperator = &quot;|ASD|&quot;;
size_t position = a.find_first_of (seperator); // geht nicht
</code></pre>
<pre><code class="language-cpp">string a = &quot;ABCDEFGHIJKLMNOP |ASD|HIER war das ENDE!!!123456789123456789123456789 |ASD|&quot;;
string seperator = &quot;123456789123456789&quot;;
size_t position = a.find_first_of (seperator); // geht!!!
</code></pre>
<p>Danke, bin gerad schon total am Verzweifeln : &lt;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1407809</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1407809</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Wed, 21 Nov 2007 22:07:34 GMT</pubDate></item><item><title><![CDATA[Reply to find_first_of on Wed, 21 Nov 2007 22:21:51 GMT]]></title><description><![CDATA[<p>Was heißt denn für dich &quot;geht nicht&quot;? Der erste Aufruf gibt 0 zurück, da das A direkt vorne steht. Bei find_first_of wird eben nur gesucht, bis ein beliebiges Zeichen der Maske im String gefunden wird. Nicht verwechseln mit find!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1407820</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1407820</guid><dc:creator><![CDATA[Michael E.]]></dc:creator><pubDate>Wed, 21 Nov 2007 22:21:51 GMT</pubDate></item><item><title><![CDATA[Reply to find_first_of on Wed, 21 Nov 2007 22:29:15 GMT]]></title><description><![CDATA[<p>omg -.-<br />
das hab ich noch nicht gewusst...<br />
hab hier auch ne explode-fkt, die mit find_first_of geschrieben is - und naja... ^^</p>
<p>Danke *schäm* ^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1407826</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1407826</guid><dc:creator><![CDATA[unskilled]]></dc:creator><pubDate>Wed, 21 Nov 2007 22:29:15 GMT</pubDate></item></channel></rss>