Hello, I've got an array structured as follows:
let test = ["testOne:,O,U,0","testTwo:R,C,0","testTree:1.334","testFour:r,z"];
I'm looking to iterate through the array and remove any occurrences of the character "0" after the comma ",". While I've tried using pop and slice methods, they only allow me to remove elements by index from the array. What I want is to get rid of those characters within the strings themselves in a new array.
The result I'm hoping for would be:
let test = ["testOne:,O,U","testTwo:R,C","testTree:1.334","testFour:r,z"];