Java: Converting a char to a string
<p>I have just done this in eclipse:</p>

<pre><code>String firstInput = removeSpaces(myIn.readLine());
String first = new String(firstInput.charAt(0));
</code></pre>

<p>However, eclipse complains that:</p>

<blockquote>
  <p>The constructor String(char) is
  undefined</p>
</blockquote>

<p>How do I convert a char to a string then??</p>

<p>Thanks</p>

<h2>EDIT</h2>

<p>I tried the substring method but it didn't work for some reason but gandalf's way works for me just fine! Very straightforward!</p>
