code: public static String replaceAll(String str, final String searchToken, final String replacement) {
          if (str == null) {
              return str;
          }
          str = str.replace(searchToken, replacement);
          return str;
      }
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 str
  @param searchToken
  @param replacement
  @return