code: public static String replaceAll(String v, String searchToken, String replacement) {
          if (v == null) {
              return v;
          }
          while (v.indexOf(searchToken) != -1) {
              v = v.replace(searchToken, replacement);
          }
          return v;
      }
docs: Utility method that will do replacement multiple times until no more
  occurrences are left.
  
  Note that this is NOT the same as
  {@link String#replaceAll(String, String)} which will only do one
  run-through of the string, and it will use regexes instead of exact
  searching.
  
  @param v
  @param searchToken
  @param replacement
  @return