JSFiddle - React, Tailwind, and code Playground

by loktar

JavaScript

var strValue = "abcdefg";

strValue = strValue.replace('c','');

alert(strValue);