title: How do I insert a character into a string at any given point? (Processing)
body: <p>I am trying to insert a character into a string using Processing.<br><br> After some reading around I tried out the following (I think Java) code:</p>
  
  <pre><code>1: String st = new String("abcde");
  2: st = StringBuffer(st).insert(2, "C");
  </code></pre>
  
  <p><br>
  and got the following response:<br><br></p>
  
  <pre><code>the function StringBuffer(String) does not exist 
  </code></pre>
  
  <p><br> Is there a different/simpler way of doing this? Do I need to use StringBuffer? I'm a fairly novice programmer so any help greatly appreciated.</p>