SyntaxFix
Write A Post
Hire A Developer
Questions
You can use a substring
String word = "onetwotwoone" int lenght = word.length(); //Note this should be function. String numbers = word.substring(word.length() - 3);