Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to remove selected characters from a string in javascript

// app.js

str = 'Hello cy Adele';

newStr = str.replace('c', '');

console.log('Original String: ', str);
console.log('After character removed: ', newStr);
Source by appdividend.com #
 
PREVIOUS NEXT
Tagged: #remove #selected #characters #string #javascript
ADD COMMENT
Topic
Name
5+6 =