Java String manipulation
<p>I have a string</p>

<p><code>String a = "/home/eric/workspace/" + file;</code></p>

<p><code>file</code> can be any variable. I'ts a directory. How can i get the <code>/home/eric/workspace/</code> substring from the above?</p>
