Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

replaceall typescript

public replaceAll(str: string, find: string, replace: string) {
	return str.replace(new RegExp(find, 'g'), replace);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replaceall #typescript
ADD COMMENT
Topic
Name
7+8 =