0

Handelding a String

Write a method which will remove any given character from a String

26th Nov 2021, 1:46 PM
Shaurya Srivastava
Shaurya Srivastava - avatar
6 odpowiedzi
+ 3
Okay, and now add your code! Hint: * use the replace method of strings
26th Nov 2021, 2:09 PM
Lisa
Lisa - avatar
+ 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!⭐
26th Nov 2021, 1:49 PM
Lisa
Lisa - avatar
+ 3
Please have a look at my initial comment and provide the necessary information!
26th Nov 2021, 1:52 PM
Lisa
Lisa - avatar
+ 1
Javascript
26th Nov 2021, 2:06 PM
Shaurya Srivastava
Shaurya Srivastava - avatar
+ 1
Thanks Lisa for the aid
26th Nov 2021, 3:42 PM
Shaurya Srivastava
Shaurya Srivastava - avatar
0
I Want to remove any character I have problem in code
26th Nov 2021, 1:50 PM
Shaurya Srivastava
Shaurya Srivastava - avatar