title: How to replace a string with another string and insert it into the next line of code in Java
body: <p>I can't figure out how to replace a string with a string,in my program while it's running.
  Is this even possible ?
  While the program is running, I want to replace a word with another and then continue running from that line.</p>
  
  <p>How could i do this ?
  thanks all</p>
  
  <pre><code>hstring.replace("picstart", "up1");
  g.drawPixmap(Assets.picstart , 128, 160);
  </code></pre>