Answers for "java remove the first of a char"

4

remove first character from string

String str = "Hello World";
String str2 = str.substring(1,str.length());
Posted by: Guest on May-05-2020
1

java remove first character

"Hello World".substring(1)  // ello World
Posted by: Guest on January-25-2021

Code answers related to "java remove the first of a char"

Code answers related to "Javascript"

Browse Popular Code Answers by Language