Replacing '(' with '-' in C++ : <p>I've tried:</p>

<pre><code>versionString = versionString.replace(versionString.begin(), versionString.end(), '(' , '-' );
</code></pre>

<p>The result is: "--------------". Basically replacing all the characters. What is that?</p>

<p>versionString is a basic string.</p>
