Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript remove first character from array list

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

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

console.log(y);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #remove #character #array #list
ADD COMMENT
Topic
Name
6+2 =