how to take out the unnecessary characters from a string? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to take out the unnecessary characters from a string?

example: string a = "M*#*m*#*mlls^

amp;JJSJmk¥£¥" how to print out only the capital characters?

23rd Jun 2020, 4:07 AM
Zihan Sabah
Zihan Sabah - avatar
5 Answers
+ 4
Use ASCII values from 65 to 90 for A to Z.
25th Jun 2020, 12:28 AM
Ashwini Adsule
Ashwini Adsule - avatar
0
~ swim ~ i didnt get it.Where to find advance c++ tutorials?
23rd Jun 2020, 8:30 AM
Zihan Sabah
Zihan Sabah - avatar
0
~ swim ~ most of them wants money. Youtube only teaches the basics not the advance.I had started cybary thinking it was free but soon realizing it was not.So what now?
23rd Jun 2020, 8:38 AM
Zihan Sabah
Zihan Sabah - avatar
0
~ swim ~ the logic cant be developed through only this app
23rd Jun 2020, 8:39 AM
Zihan Sabah
Zihan Sabah - avatar
0
Ashwini adsule i didnt get it .But anyway thanks
25th Jun 2020, 5:18 PM
Zihan Sabah
Zihan Sabah - avatar