javascript remove character from string
mystring.replace(/r/g, '')
Source: stackoverflow.com
how to remove character from string in javascript
newString = originalString.replace('G', ''); // (oldchar, newchar)
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.