title: What alternative to replaceFirst in java.lang.String in Codenameone?
body: <p>I am trying to use replaceFirst(String,String) in a codenameone function and I am getting this compile error </p>
  
  <pre><code>    /Users/jamesagada/ziemozi/Ziemozi/src/com/ixzdore/restdb/ziemview/FieldWatcher.java:130: error: cannot find symbol
              result = result.replaceFirst(regex, field);
    symbol:   method replaceFirst(String,String)
    location: variable result of type String
  </code></pre>
  
  <p>What alternative do I have? I am trying to implement a barebones template system and the code is to substitute the template variables.</p>