Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

check last character of string java

String str = "India";
System.out.println("last char = " + str.charAt(str.length() - 1));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #character #string #java
ADD COMMENT
Topic
Name
7+3 =