[Edit]
+
0
-
0
Java remove first 2 characters from string
1 2 3 4 5 6 7 8 9 10public class Example { public static void main(String[] args) { String text = "ABCD"; String result = text.substring(2); System.out.println(result); // CD } }
1 2 3 4 5 6 7 8 9 10public class Example { public static void main(String[] args) { String text = "ABCD"; String result = text.substring(2); System.out.println(result); // CD } }