Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript string replace all

function replaceAll(string, search, replace) {
  return string.split(search).join(replace);
}
const output = replaceAll(Url, type, changeType);
Source by dmitripavlutin.com #
 
PREVIOUS NEXT
Tagged: #javascript #string #replace
ADD COMMENT
Topic
Name
4+4 =