Why not just String substr = word.substring(word.length() - 3) ? Update. Please make sure you check that the String is at least 3 characters ...
確定! 回上一頁