how to delete a letter from a string in javascript
substr() – removes a character from a particular index in the String.
replace() – replaces a specific character/string with another character/string.
slice() – extracts parts of a string between the given parameters.