Posts by Marcos Militão • 11 points
1 post
-
0
votes4
answers66720
viewsA: What is the correct way to make a regular Javascript substitution for all occurrences found?
A simple way would be: var boia1 = 'Posição+Projeto+-+Boia+8' while(boia1.includes('+')) { boia1 = boia1.replace('+', ' '); } //Result: 'Posição Projeto - Boia 8'…