+ 1

what the method word.substring do?

String del = word.substring(67); System.out.println();

9th Sep 2020, 2:47 PM
Mahdi (Twelve Imam)
2 Respostas
+ 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
9th Sep 2020, 5:24 PM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar