DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript replace all
let result = "1 abc 2 abc 3".replaceAll("abc", "xyz"); // `result` is "1 xyz 2 xyz 3"
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#replace
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit