code: public static String replace(String source, String pattern, 
                                   String replacement) {
          return replace(source, pattern, replacement, 0);
      }
docs: Replaces all exact matches of the given pattern in the source string
  with the provided replacement.
  
  @param source the source string
  @param pattern the simple string pattern to search for
  @param replacement the string to use for replacing matched patterns.
  
  @return the string with any replacements applied.