News

Get the last word with Java String's split(" ") method and accessing last // element in array returned by the split method. // def javaWords = stringWithWords.split(" ") def javaSplitLastWord ...