String last2 = texter [-2..-1] // Last 2 symbols Its an analogue of substring, and it uses Ranges. Groovy - split() - Splits this String around matches of ...
確定! 回上一頁