Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

str.substring last 2 java

String substring = str.length() > 2 ? str.substring(str.length() - 2) : str;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java
ADD COMMENT
Topic
Name
9+2 =