Java repeat last 3 letters of string

114

Java repeat last 3 letters of string -

word + word.substring(word.length()-3, word.length())

Comments

Submit
0 Comments