Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove first and last character javascript

// best implementation
const removeChar = (str) => str.slice(1, -1);
Source by www.techiedelight.com #
 
PREVIOUS NEXT
Tagged: #remove #character #javascript
ADD COMMENT
Topic
Name
9+9 =