simple java, using substring
<p>i was practicing some java problems and this one got me stuck. </p>

<blockquote>
  <p>given an "out" string length 4, such as "&lt;&lt;>>", and a word, return a
  new string where the word is in the middle of the out string, e.g.
  "&lt;>". Note: use str.substring(i, j) to extract the String
  starting at index i and going up to but not including index j.</p>

<pre><code>makeOutWord("&lt;&lt;&gt;&gt;", "Yay") → "&lt;&lt;Yay&gt;&gt;"
makeOutWord("&lt;&lt;&gt;&gt;", "WooHoo") → "&lt;&lt;WooHoo&gt;&gt;"
makeOutWord("[[]]", "word") → "[[word]]"

public String makeOutWord(String out, String word)
</code></pre>
</blockquote>

<p>can anyone help me how to start?</p>
