<?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[basic_string::find() Funktion]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich möchte aus einem String die Position einer Leerzeile ermitteln</p>
<p>Bsp:</p>
<pre><code>xxxx xxxx xxxx
                  &lt;- Die Suche ich
xxx xxx xxx xxx
xxx xxxx xxx xxx
</code></pre>
<p>Ich dachte mir man müsste die Position mit der_string.find(&quot;\n\n&quot;) finden können da in der Leerzeile ja nichts steht. Aber irgendwie geht das net. Liegt das an der find Funktion oder habe ich einen Fehler im Code?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/121393/basic_string-find-funktion</link><generator>RSS for Node</generator><lastBuildDate>Sat, 22 Aug 2026 19:01:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/121393.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Sep 2005 20:51:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to basic_string::find() Funktion on Thu, 22 Sep 2005 20:51:38 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich möchte aus einem String die Position einer Leerzeile ermitteln</p>
<p>Bsp:</p>
<pre><code>xxxx xxxx xxxx
                  &lt;- Die Suche ich
xxx xxx xxx xxx
xxx xxxx xxx xxx
</code></pre>
<p>Ich dachte mir man müsste die Position mit der_string.find(&quot;\n\n&quot;) finden können da in der Leerzeile ja nichts steht. Aber irgendwie geht das net. Liegt das an der find Funktion oder habe ich einen Fehler im Code?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/878161</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/878161</guid><dc:creator><![CDATA[flammenvogel]]></dc:creator><pubDate>Thu, 22 Sep 2005 20:51:38 GMT</pubDate></item><item><title><![CDATA[Reply to basic_string::find() Funktion on Thu, 22 Sep 2005 21:05:11 GMT]]></title><description><![CDATA[<p>Hi!</p>
<p>Bestehen Deine Zeilenumbrüche aus \n oder \r\n?</p>
<p>Hast Du vielleicht Whitespaces in Deiner Leerzeile?</p>
<p>Grüße<br />
Richie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/878179</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/878179</guid><dc:creator><![CDATA[Richie_Gecco]]></dc:creator><pubDate>Thu, 22 Sep 2005 21:05:11 GMT</pubDate></item><item><title><![CDATA[Reply to basic_string::find() Funktion on Fri, 23 Sep 2005 12:25:35 GMT]]></title><description><![CDATA[<p>was ist \r?</p>
<p>Ich habe mir die Datei mal mit einem Editor angesehen, der die Zeilenumbrüche anzeigt. In der Leerzeile befinden sich keine Whitespaces...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/878552</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/878552</guid><dc:creator><![CDATA[flammenvogel]]></dc:creator><pubDate>Fri, 23 Sep 2005 12:25:35 GMT</pubDate></item><item><title><![CDATA[Reply to basic_string::find() Funktion on Fri, 23 Sep 2005 12:40:32 GMT]]></title><description><![CDATA[<p>schaus dir mit nem Hexeditor an - du weißt ja nicht was ein editor alles mit deiner datei anstellt</p>
<p>im HTTP ist ein Zeilenumbruch auch immer \r\n<br />
und auf win systemen ist das auch gebräuchlich</p>
]]></description><link>https://www.c-plusplus.net/forum/post/878561</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/878561</guid><dc:creator><![CDATA[Vertexwahn]]></dc:creator><pubDate>Fri, 23 Sep 2005 12:40:32 GMT</pubDate></item><item><title><![CDATA[Reply to basic_string::find() Funktion on Fri, 23 Sep 2005 13:05:22 GMT]]></title><description><![CDATA[<p>doch ich weiß was der editor mit der datei anstellt... (ist nicht das standard notepad)</p>
<p>was ist jetzt das /r?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/878588</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/878588</guid><dc:creator><![CDATA[flammenvogel]]></dc:creator><pubDate>Fri, 23 Sep 2005 13:05:22 GMT</pubDate></item><item><title><![CDATA[Reply to basic_string::find() Funktion on Fri, 23 Sep 2005 13:21:53 GMT]]></title><description><![CDATA[<p>Schaus Dir in 'nem Hex Editor an (XVI32 ist ganz gut). Dort siehst du relativ einfach, ob Dein Zeilenumbruch aus einem (\n) oder zwei Bytes besteht(\r\n).</p>
<p>\n -&gt; new line<br />
\r -&gt; carriage return</p>
]]></description><link>https://www.c-plusplus.net/forum/post/878605</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/878605</guid><dc:creator><![CDATA[TheBigW]]></dc:creator><pubDate>Fri, 23 Sep 2005 13:21:53 GMT</pubDate></item></channel></rss>