+ 1
what the method word.substring do?
String del = word.substring(67); System.out.println();
2 ответов
+ 1
Substring method are used for extract some part from string
For example
String a = "sololearn"
String b = a.substring(1)
S.o.p(b) // ololearn
String will be extracted from index 1
0