Remove qouma and put space in string js
const str = 'apple,ball,cat';
const withoutCommas = str.replaceAll(',', ' ');
console.log(withoutCommas); // 👉️ 'apple ball cat'
For further actions, you may consider blocking this person and/or reporting abuse
Saad Alkentar -
Priya Moghe -
Takuro Goto -
Moiz Lokhandwala -
Top comments (0)