js remove first 2 characters code example Example: remove first 3 characters from string javascript var string = "abcd"; console.log(string.substring(3)); //"d"