Class StringReplace

java.lang.Object
io.ebean.enhance.ant.StringReplace

public class StringReplace extends Object
Utility String class that supports String manipulation functions.
  • Constructor Details

  • Method Details

    • replace

      public static String replace(String source, String match, String replace)
      This method takes a String and will replace all occurrences of the match String with that of the replace String.
      Parameters:
      source - the source string
      match - the string used to find a match
      replace - the string used to replace match with
      Returns:
      the source string after the search and replace