Answers for "how to delete the first character of a string js"

9

javascript remove first character from string

let str = " hello";
str = str.substring(1);
Posted by: Guest on October-03-2020
3

javascript delete first character in string

var oldStr ="Hello";
var newStr = oldStr.substring(1); //remove first character "ello"
Posted by: Guest on August-05-2019

Code answers related to "how to delete the first character of a string js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language