JavaScript supprime le caractère de la chaîne
mystring.replace(/r/g, '')
Annoying Antelope
mystring.replace(/r/g, '')
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.