Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

delete last character from string js

let str = 'Masteringjs.ioF';
str.slice(0, -1); // Masteringjs.io
Source by masteringjs.io #
 
PREVIOUS NEXT
Tagged: #delete #character #string #js
ADD COMMENT
Topic
Name
6+8 =