Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

delete first character javascript

let str = 'Hello';
 
str = str.slice(1);
console.log(str);
 
/*
    Output: ello
*/
Source by www.techiedelight.com #
 
PREVIOUS NEXT
Tagged: #delete #character #javascript
ADD COMMENT
Topic
Name
8+1 =