New course! Every coder should learn Generative AI!
Try a free lesson0
Handelding a String
Write a method which will remove any given character from a String
6 Answers
+ 3
Okay, and now add your code!
Hint:
* use the replace method of strings
+ 4
āPlease tag the relevant programming language.ā
What exactly do you mean by "any given character"? Do you want to remove every character so only an empty string is left? Or do you want to remove a character that is specified as argument of the method?
āPlease link your code!ā
+ 3
Please have a look at my initial comment and provide the necessary information!
+ 1
Javascript
+ 1
Thanks Lisa for the aid
0
I Want to remove any character I have problem in code