<?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[zeichenkette in string ersetzen]]></title><description><![CDATA[<p>hallo... ich bin neu, habe aber in den faq nicht das passende gefunden. ich möchte gerne in einem string eine bestimmt zeichenkette durch eine andere (die nicht die selbe länge hat) ersetzen. bislang stehe ich hier:</p>
<pre><code class="language-cpp">#include &lt;stdlib.h&gt;
#include &lt;string.h&gt;
#include &lt;stdio.h&gt; 

int main()
{
      char meinString[] =&quot;Ich wohne im siebten Stock&quot;;
      char * pch;
      pch = strstr (meinString,&quot;siebten&quot;);
      strncpy (pch,&quot;neunten&quot;,7);
      puts (meinString);

      system(&quot;PAUSE&quot;);
      return 0;
}
</code></pre>
<p>leider geht das nur mit gleichlangen zeichenketten... wenn ich nun &quot;siebten&quot; durch &quot;8.&quot; ersetzen wollen würde, geht das nicht. kann mir jemand die lösung nennen.<br />
danke im vorraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/154323/zeichenkette-in-string-ersetzen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 23:37:40 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/154323.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Jul 2006 10:55:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Thu, 27 Jul 2006 00:14:55 GMT]]></title><description><![CDATA[<p>hallo... ich bin neu, habe aber in den faq nicht das passende gefunden. ich möchte gerne in einem string eine bestimmt zeichenkette durch eine andere (die nicht die selbe länge hat) ersetzen. bislang stehe ich hier:</p>
<pre><code class="language-cpp">#include &lt;stdlib.h&gt;
#include &lt;string.h&gt;
#include &lt;stdio.h&gt; 

int main()
{
      char meinString[] =&quot;Ich wohne im siebten Stock&quot;;
      char * pch;
      pch = strstr (meinString,&quot;siebten&quot;);
      strncpy (pch,&quot;neunten&quot;,7);
      puts (meinString);

      system(&quot;PAUSE&quot;);
      return 0;
}
</code></pre>
<p>leider geht das nur mit gleichlangen zeichenketten... wenn ich nun &quot;siebten&quot; durch &quot;8.&quot; ersetzen wollen würde, geht das nicht. kann mir jemand die lösung nennen.<br />
danke im vorraus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1104468</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1104468</guid><dc:creator><![CDATA[steven23]]></dc:creator><pubDate>Thu, 27 Jul 2006 00:14:55 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Wed, 26 Jul 2006 11:02:37 GMT]]></title><description><![CDATA[<p>Die Lösung bietet die Klasse string der STL.</p>
<p>grüße</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1104472</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1104472</guid><dc:creator><![CDATA[David_pb]]></dc:creator><pubDate>Wed, 26 Jul 2006 11:02:37 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Wed, 26 Jul 2006 11:02:58 GMT]]></title><description><![CDATA[<p>ich würd das ja so machen:</p>
<p>char text[100] = {0};</p>
<p>sprintf(&quot;Ich heiße %s !!!\n&quot;, text, &quot;Peter&quot;);<br />
sprintf(&quot;Ich heiße %s !!!\n&quot;, text, &quot;Hans&quot;);</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1104473</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1104473</guid><dc:creator><![CDATA[Stu123]]></dc:creator><pubDate>Wed, 26 Jul 2006 11:02:58 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Wed, 26 Jul 2006 11:05:05 GMT]]></title><description><![CDATA[<p>Stu123 schrieb:</p>
<blockquote>
<p>ich würd das ja so machen:</p>
<p>char text[100] = {0};</p>
<p>sprintf(&quot;Ich heiße %s !!!\n&quot;, text, &quot;Peter&quot;);<br />
sprintf(&quot;Ich heiße %s !!!\n&quot;, text, &quot;Hans&quot;);</p>
</blockquote>
<p>es geht nicht daraum was auszugeben. ich will lediglich den string verändern...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1104474</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1104474</guid><dc:creator><![CDATA[steven23]]></dc:creator><pubDate>Wed, 26 Jul 2006 11:05:05 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Wed, 26 Jul 2006 11:06:06 GMT]]></title><description><![CDATA[<p>David_pb schrieb:</p>
<blockquote>
<p>Die Lösung bietet die Klasse string der STL.</p>
<p>grüße</p>
</blockquote>
<p>ich habe mir unter <a href="http://www.cplusplus.com" rel="nofollow">www.cplusplus.com</a> die stringklasse angesehen, doch leider nichts gefunden. oder was meinst du mit &quot;STL&quot;? sorry, bin leider nicht so bewandert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1104476</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1104476</guid><dc:creator><![CDATA[steven23]]></dc:creator><pubDate>Wed, 26 Jul 2006 11:06:06 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Wed, 26 Jul 2006 11:09:02 GMT]]></title><description><![CDATA[<p><a href="http://cplus.kompf.de/artikel/strings.html" rel="nofollow">http://cplus.kompf.de/artikel/strings.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1104479</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1104479</guid><dc:creator><![CDATA[miller_m]]></dc:creator><pubDate>Wed, 26 Jul 2006 11:09:02 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Wed, 26 Jul 2006 11:10:55 GMT]]></title><description><![CDATA[<p>Hi!</p>
<p>Die Standard Template Library: siehe auch <a href="http://www.cppreference.com/cppstring/index.html" rel="nofollow">http://www.cppreference.com/cppstring/index.html</a></p>
<p>grüße</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1104482</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1104482</guid><dc:creator><![CDATA[David_pb]]></dc:creator><pubDate>Wed, 26 Jul 2006 11:10:55 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Wed, 26 Jul 2006 11:10:56 GMT]]></title><description><![CDATA[<p>miller_m schrieb:</p>
<blockquote>
<p><a href="http://cplus.kompf.de/artikel/strings.html" rel="nofollow">http://cplus.kompf.de/artikel/strings.html</a></p>
</blockquote>
<p>das suchte ich, danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1104483</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1104483</guid><dc:creator><![CDATA[steven23]]></dc:creator><pubDate>Wed, 26 Jul 2006 11:10:56 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Wed, 26 Jul 2006 11:24:57 GMT]]></title><description><![CDATA[<p>steven23 schrieb:</p>
<blockquote>
<p>es geht nicht daraum was auszugeben. ich will lediglich den string verändern...</p>
</blockquote>
<p>sprintf gibt nichts aus, es schreibt lediglich einen Text in einen String <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>Anyway, mit string bist Du hier im C++ Bereich eh besser bedient.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1104492</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1104492</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Wed, 26 Jul 2006 11:24:57 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Thu, 27 Jul 2006 00:15:17 GMT]]></title><description><![CDATA[<p>habe mal noch eine frage/fehler und find die lösung nicht</p>
<pre><code class="language-cpp">int main()
{

vector&lt;string&gt; tabelle;
tabelle.push_back(&quot;Strasse&quot;);
tabelle.push_back(&quot;Weg&quot;);
tabelle.push_back(&quot;Bruecke&quot;);
tabelle.push_back(&quot;Tunnel&quot;);

string meinString = &quot;Ich fahre eine *0 entlang, ueber eine *2 und biege rechts in einen kleinen *1 ein, der durch einen *3 fuehrt.&quot;;
string::size_type laenge = meinString.size();

for (int i=0;i&lt;laenge;i++){
if (meinString[i]=='*'){
meinString.replace(meinString.find(&quot;*&quot;), 2, tabelle[meinString[i+1&rsqb;&rsqb;);
i=0;
}
}

cout &lt;&lt; meinString &lt;&lt; &quot;\n&quot;;

system(&quot;PAUSE&quot;);
return 0;
}
</code></pre>
<p>hier soll meinString nach &quot;<em>&quot; durchsucht werden und die nächste stelle nach &quot;</em>&quot; beinhaltet die zeilennummer des vectors, durch die &quot;*&quot; und die zeilennummer ersetzt werden sollen...<br />
immer wenn ich das script ausführe, hängt es sich auf? weiß jemand eine lösung?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1104993</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1104993</guid><dc:creator><![CDATA[steven23]]></dc:creator><pubDate>Thu, 27 Jul 2006 00:15:17 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Thu, 27 Jul 2006 00:05:03 GMT]]></title><description><![CDATA[<p>steven23 schrieb:</p>
<blockquote>
<p>Immer wenn ich das Script ausführe, hängt es sich auf?</p>
</blockquote>
<p>Ja. Du greifst auf Speicher zu, der nicht dir gehört. Überprüf' doch 'mal die Werte von meinString[ i + 1 ]:</p>
<pre><code class="language-cpp">for( int i = 0; i &lt; laenge; i++ ) {

    if( meinString[ i ] == '*' ) {

        meinString.replace(meinString.find( &quot;*&quot; ), 2, tabelle[ meinString[ i + 1 ] ] );
        //                                  ^
        // wieso ein String als Argument für string::find( )?

        i=0;
    }
}
</code></pre>
<p>Fällt dir was auf!?</p>
<p>steven23 schrieb:</p>
<blockquote>
<p>Weiß jemand eine Lösung?</p>
</blockquote>
<p>Ja:</p>
<pre><code class="language-cpp">#include &lt;vector&gt;
#include &lt;string&gt;
#include &lt;locale&gt;
#include &lt;iostream&gt;

using namespace std;

int main( )
{
    vector&lt; string &gt; table;
    table.push_back( &quot;Strasse&quot; );
    table.push_back( &quot;Weg&quot; );
    table.push_back( &quot;Bruecke&quot; );
    table.push_back( &quot;Tunnel&quot; );

    string text = &quot;Ich fahre eine *0 entlang,\n&quot;
                  &quot;ueber eine *2 und biege rechts in einen kleinen *1 ein,\n&quot;
                  &quot;der durch einen *3 fuehrt.&quot;;

    cout &lt;&lt; &quot;Text to replace with tokens:&quot; &lt;&lt; endl;
    cout &lt;&lt; text &lt;&lt; endl &lt;&lt; endl;

    locale germany( &quot;German_Germany&quot; );

    string::size_type offset = 0;

    for( vector&lt; string &gt;::size_type i = 0; i &lt; table.size( ); ++i ) {

        offset = text.find( '*', offset );

        if( isdigit( text[ offset + 1 ], germany ) ) {

            text.replace( offset++, 2, table[ text[ offset ] - '0' ] );
        }
    }

    cout &lt;&lt; text &lt;&lt; endl;
}
</code></pre>
<p>Rück' das nächste mal vernünftig ein und benutz &quot;cpp&quot;-Tags!</p>
<p>Greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1105004</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1105004</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Thu, 27 Jul 2006 00:05:03 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Wed, 26 Jul 2006 23:55:29 GMT]]></title><description><![CDATA[<p>ah, jetzt hab ich´s geschnallt... besten dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1105005</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1105005</guid><dc:creator><![CDATA[steven23]]></dc:creator><pubDate>Wed, 26 Jul 2006 23:55:29 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Thu, 27 Jul 2006 00:02:25 GMT]]></title><description><![CDATA[<p>mmm, ein problem hab ich allerdings noch. die for schleife richtet sich jetzt nach der anzahl der begriffe im vector. leider habe ich auch manchmal strings, bei denen nicht alle begriffe aus dem tabel benutzt werden. die for schleife müsste also eher den string nach * durchsuchen... aber wie?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1105006</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1105006</guid><dc:creator><![CDATA[steven23]]></dc:creator><pubDate>Thu, 27 Jul 2006 00:02:25 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Thu, 27 Jul 2006 00:19:50 GMT]]></title><description><![CDATA[<p>p.s. die erste version von dir funktionierte. nach deiner überarbeitung gehts nun leider nicht mehr. folgende fehlermeldung spuckt er aus: cpp:3: locale: No such file or directory ???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1105009</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1105009</guid><dc:creator><![CDATA[steven23]]></dc:creator><pubDate>Thu, 27 Jul 2006 00:19:50 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Thu, 27 Jul 2006 00:22:19 GMT]]></title><description><![CDATA[<p>Ist auch keine Hexerei:</p>
<pre><code class="language-cpp">#include &lt;vector&gt;
#include &lt;string&gt;
#include &lt;locale&gt;
#include &lt;iostream&gt;

using namespace std;

int main( )
{
    vector&lt; string &gt; table;
    table.push_back( &quot;Strasse&quot; );
    table.push_back( &quot;Weg&quot; );
    table.push_back( &quot;Bruecke&quot; );
    table.push_back( &quot;Tunnel&quot; );

    string text = &quot;Ich fahre eine *0 entlang,\n&quot;
                  &quot;ueber eine *2 und biege rechts in einen kleinen *1 ein,\n&quot;
                  &quot;der durch einen *3 fuehrt.&quot;;

    cout &lt;&lt; &quot;Text to replace with tokens:&quot; &lt;&lt; endl;
    cout &lt;&lt; text &lt;&lt; endl &lt;&lt; endl;

    locale germany( &quot;German_Germany&quot; );

    string::size_type offset = text.find( '*' );

    while( offset != text.npos ) {

        if( isdigit( text[ offset + 1 ], germany ) ) {

            text.replace( offset, 2, table[ text[ offset + 1 ] - '0' ] );
        }

        offset = text.find( '*', ++offset );
    }

    cout &lt;&lt; text &lt;&lt; endl;
}
</code></pre>
<p>Greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1105012</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1105012</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Thu, 27 Jul 2006 00:22:19 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Thu, 27 Jul 2006 00:24:02 GMT]]></title><description><![CDATA[<p>danke, aber wie gesagt, selber fehler... er hat ein problem mit &quot;#include &lt;locale&gt;&quot; glaube ich... ???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1105013</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1105013</guid><dc:creator><![CDATA[steven23]]></dc:creator><pubDate>Thu, 27 Jul 2006 00:24:02 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Thu, 27 Jul 2006 00:31:49 GMT]]></title><description><![CDATA[<p>Dann unterstützt dein Compiler den C++ Standard ISO/IEC 14882:1998 nicht!</p>
<p>ISO/IEC 14882:1998 schrieb:</p>
<blockquote>
<p><strong>17.4.1.2 Headers</strong></p>
<p>1 The elements of the C++ Standard Library are declared or defined (as appropriate) in <em>a header.</em><br />
2 The C++ Standard Library provedes 32 <em>C++ headers</em>, as shown in Table 11:</p>
<p><strong>Table 11 - C++ Library Headers</strong></p>
<pre><code>&lt;algorithm&gt;   &lt;iomanip&gt;    &lt;list&gt;       &lt;ostream&gt;      &lt;streambuf&gt;
&lt;bitset&gt;      &lt;ios&gt;        &lt;locale&gt;     &lt;queue&gt;        &lt;string&gt;
&lt;compex&gt;      &lt;iosfwd&gt;     &lt;map&gt;        &lt;set&gt;          &lt;typeinfo&gt;
&lt;deque&gt;       &lt;iostream&gt;   &lt;memory&gt;     &lt;sstream&gt;      &lt;utility&gt;
&lt;exception&gt;   &lt;istream&gt;    &lt;new&gt;        &lt;stack&gt;        &lt;valarray&gt;
&lt;fstream&gt;     &lt;iterator&gt;   &lt;numeric&gt;    &lt;stdexcept&gt;    &lt;vector&gt;
&lt;functinoal&gt;  &lt;limits&gt;
</code></pre>
<p>[...]</p>
</blockquote>
<p>Welchen Compiler benutzt du?</p>
<p>Verwende inzwischen:</p>
<pre><code class="language-cpp">#include &lt;vector&gt;
#include &lt;string&gt;
#include &lt;iostream&gt;

using namespace std;

int main( )
{
    vector&lt; string &gt; table;
    table.push_back( &quot;Strasse&quot; );
    table.push_back( &quot;Weg&quot; );
    table.push_back( &quot;Bruecke&quot; );
    table.push_back( &quot;Tunnel&quot; );

    string text = &quot;Ich fahre eine *0 entlang,\n&quot;
                  &quot;ueber eine *2 und biege rechts in einen kleinen *1 ein,\n&quot;
                  &quot;der durch einen *3 fuehrt.&quot;;

    cout &lt;&lt; &quot;Text to replace with tokens:&quot; &lt;&lt; endl;
    cout &lt;&lt; text &lt;&lt; endl &lt;&lt; endl;

    string::size_type offset = 0;

    for( vector&lt; string &gt;::size_type i = 0; i &lt; table.size( ); ++i ) {

        offset = text.find( '*', offset );

        if( isdigit( text[ offset + 1 ] ) ) {

            text.replace( offset++, 2, table[ text[ offset ] - '0' ] );
        }
    }

    cout &lt;&lt; text &lt;&lt; endl;
}
</code></pre>
<p>bzw.</p>
<pre><code class="language-cpp">#include &lt;vector&gt;
#include &lt;string&gt;
#include &lt;iostream&gt;

using namespace std;

int main( )
{
    vector&lt; string &gt; table;
    table.push_back( &quot;Strasse&quot; );
    table.push_back( &quot;Weg&quot; );
    table.push_back( &quot;Bruecke&quot; );
    table.push_back( &quot;Tunnel&quot; );

    string text = &quot;Ich fahre eine *0 entlang,\n&quot;
                  &quot;ueber eine *2 und biege rechts in einen kleinen *1 ein,\n&quot;
                  &quot;der durch einen *3 fuehrt.&quot;;

    cout &lt;&lt; &quot;Text to replace with tokens:&quot; &lt;&lt; endl;
    cout &lt;&lt; text &lt;&lt; endl &lt;&lt; endl;

    string::size_type offset = text.find( '*' );

    while( offset != text.npos ) {

        if( isdigit( text[ offset + 1 ] ) ) {

            text.replace( offset, 2, table[ text[ offset + 1 ] - '0' ] );
        }

        offset = text.find( '*', ++offset );
    }

    cout &lt;&lt; text &lt;&lt; endl;
}
</code></pre>
<p>Greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1105014</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1105014</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Thu, 27 Jul 2006 00:31:49 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Thu, 27 Jul 2006 00:32:00 GMT]]></title><description><![CDATA[<p>habs nun so gemacht und es funktioniert... wuuste sowieso nicht, wozu die local da ist!?</p>
<pre><code class="language-cpp">#include &lt;vector&gt;
#include &lt;string&gt;
#include &lt;iostream&gt;

using namespace std;

int main( )
{
    vector&lt; string &gt; table;
    table.push_back( &quot;Strasse&quot; );
    table.push_back( &quot;Weg&quot; );
    table.push_back( &quot;Bruecke&quot; );
    table.push_back( &quot;Tunnel&quot; );

    string text = &quot;Ich fahre eine *0 entlang,\n&quot;
                  &quot;ueber eine *2 und biege rechts in einen kleinen *1 ein,\n&quot;
                  &quot;der durch einen *3 fuehrt.&quot;;

    string::size_type offset = text.find( '*' );

    while( offset != text.npos ) {

           text.replace( offset, 2, table[ text[ offset + 1 ] - '0' ] );
           offset = text.find( '*', ++offset );
    }

    cout &lt;&lt; text &lt;&lt; endl;
    system(&quot;PAUSE&quot;);
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1105015</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1105015</guid><dc:creator><![CDATA[steven23]]></dc:creator><pubDate>Thu, 27 Jul 2006 00:32:00 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Thu, 27 Jul 2006 00:33:51 GMT]]></title><description><![CDATA[<p>ahja, danke... der zweite funktioniert. ich benutze dev-c++<br />
danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1105016</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1105016</guid><dc:creator><![CDATA[steven23]]></dc:creator><pubDate>Thu, 27 Jul 2006 00:33:51 GMT</pubDate></item><item><title><![CDATA[Reply to zeichenkette in string ersetzen on Thu, 27 Jul 2006 00:38:59 GMT]]></title><description><![CDATA[<p>Zeichen können in verschiedenen Sprachen anders interpretiert werden. Für verschiedene Zeichensätze gibt es &lt;locale&gt;.</p>
<p>Zu prüfen, ob das Zeichen nach '<em>' eine Ziffer ist kann auf jeden Fall nicht schaden, da du, wenn du '</em>' als &quot;normalen&quot; text verwendest Probleme bekommst. Weiters wäre es nett, zu Prüfen, ob der Index für deinen vector überhaupt gültig ist.</p>
<p>Greetz, Swordfish</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1105017</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1105017</guid><dc:creator><![CDATA[Swordfish]]></dc:creator><pubDate>Thu, 27 Jul 2006 00:38:59 GMT</pubDate></item></channel></rss>