how to remove first character from string in javascript
let str = 'Hello';
str = str.slice(1);
console.log(str);
/*
Output: ello
*/
str = str.substring(1);
Also in JavaScript:
- docker how to restart container at coputer startup
- can i use redux connect without react
- justin bieber
- moment get month day
- javascript set select disabled
- user defined exceptions in js
- base64 to blob
- how to multiple loop in javascript using for
- javascript newline in alert box
- reverse string js
- ajax vs rest
- radio button checked event jquery
- add jquery to page
- how to disable time option in select jquery
- integer to array javascript
- javascript construct new object
- array.splice javascript
- react js material ui
- if json valide js
- how to remove a class from element with javascript
- javascript format date time
- remove backslash in json array javascript
- new map js
- how to remove first character from string in javascript