title: How to convert vector to string in java?
body: <p>I have a <code>vector</code> and it <code>contains</code> the <code>value 5</code>. When i do <code>System.out.Println(vectorVariable)</code>, the value outputted is <code>[5]</code>. I want to convert the vectorVariable to string (without the []). I have tried <code>vectorVariable.toString()</code>, which converts it to a string but it still retains the []. So i guess i what i really want is the first element to be returned as a string. How is this possible? </p>
  
  <p>I want to store the value of the vector inside a string without the []. </p>