Mega Code Archive

 
Categories / Java Tutorial / Data Type
 

Up to the end of the string

public class MainClass{   public static void main(String[] arg){     String place = "abcedfghijk";     String lastWord = place.substring(5);     System.out.println(lastWord);   } } fghijk