Groovy – split()

  • Post author:
  • Post category:Groovy
  • Post comments:2 Comments

Splits this string around matches of the given regular expression. Syntax String[] split(String regex) Parameters regex - the delimiting regular expression. Return Value It returns the array of strings computed…

Continue ReadingGroovy – split()

Groovy – plus()

  • Post author:
  • Post category:Groovy
  • Post comments:1 Comment

Appends a String Syntax String plus(Object value) Parameters Value − The object to append to the string Return Value This method returns the resulting String. Example Following is an example of…

Continue ReadingGroovy – plus()