replaceAll occurences of a character in a string.
Some versions of nodejs don't provide String.prototype.replaceAll this is why this function exists
String.prototype.replaceAll
the string with replaced segments
the input string
the string segment to replace
the string segment to replace seg with
seg
Generated using TypeDoc
replaceAll occurences of a character in a string.
Remark
Some versions of nodejs don't provide
String.prototype.replaceAllthis is why this function existsReturns
the string with replaced segments