How to eliminate these ( ` and ^ ) symbol from a string ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to eliminate these ( ` and ^ ) symbol from a string ??

Suppose INPUT : I lo`ve Solo^learn And I'm expecting the output OUTPUT : I love Sololearn

7th Feb 2020, 10:36 AM
JAIN
JAIN - avatar
3 Answers
+ 3
JAIN , you can use replaceAll method. Look in the example 🐱 https://code.sololearn.com/cQad2pr255Xq/?ref=app
7th Feb 2020, 10:58 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 2
Read through this code.this is how i'd do it https://code.sololearn.com/cm3t42J6fBmO/?ref=app
7th Feb 2020, 10:49 AM
JumpingMensch
JumpingMensch - avatar
7th Feb 2020, 12:20 PM
JAIN
JAIN - avatar