Answers for "write a function to remove first letter from the array using a for loop"

4

remove first character from string

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

javascript remove first character from array list

var x = ["X2019","X2020","X2021","X2022"];

var y = x.map(s => s.slice(1));

console.log(y);
Posted by: Guest on October-03-2021

Code answers related to "write a function to remove first letter from the array using a for loop"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language