Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

create function replace all n javescript

const search = ' ';
const replaceWith = '-';
const result = 'duck duck go'.replaceAll(search, replaceWith);
result; // => 'duck-duck-go'
Source by dmitripavlutin.com #
 
PREVIOUS NEXT
Tagged: #create #function #replace #javescript
ADD COMMENT
Topic
Name
8+9 =