Posts by Matheus • 36 points
1 post
-
2
votes1
answer42
viewsA: What is the problem with using the string replace method in my typescript code?
The function removePalavrasSelecaoCodigoPython is replacing only the first occurrence of each element you want to remove. One way to replace all occurrences is to use split followed by Join:…