I have a question on String manipulation that can | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I have a question on String manipulation that can

1 read(get) any amount of string 2 display the string 3 count the no of words in the string 4 count the no of sentence in the string 5 count the no of special characters 6 count the no of digits 7 search if there exist palindrom word or words and count the no of palindroms

2nd Feb 2018, 11:12 AM
Ephrem Temeselew
Ephrem Temeselew - avatar
10 Answers
+ 17
so big list //btw have u tried some
2nd Feb 2018, 1:57 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 8
Okay, so this is my first try with C++ and none of these two codes work in total. They both have different vulnerabilities and they both can't check for palindromes. I really know barely anything about C++ so I'm sorry, but I don't know how to get these codes working in total. https://code.sololearn.com/c3uL3i6o06Gd/?ref=app https://code.sololearn.com/c4T6ilWhNs3j/?ref=app
3rd Feb 2018, 8:57 PM
Tim Thuma
Tim Thuma - avatar
+ 7
I just started learning it so I don't know much, but I can find many things on Google so no problem. I'll start in about 2 hours because I'm a bit busy right now.
3rd Feb 2018, 4:08 PM
Tim Thuma
Tim Thuma - avatar
+ 6
Are you asking us to show you the codes or what is the question here?
2nd Feb 2018, 2:05 PM
Tim Thuma
Tim Thuma - avatar
+ 6
Here you go https://code.sololearn.com/cGbv0oSzlyWO/?ref=app If you want me to try and do it in other languages that are closer to you, let me know😁
2nd Feb 2018, 2:46 PM
Tim Thuma
Tim Thuma - avatar
+ 4
I can show you in a sec, but I only know Python if it's ok for you.
2nd Feb 2018, 2:07 PM
Tim Thuma
Tim Thuma - avatar
+ 2
Yes that's what I'm asking
2nd Feb 2018, 2:06 PM
Ephrem Temeselew
Ephrem Temeselew - avatar
+ 2
Okey
2nd Feb 2018, 2:08 PM
Ephrem Temeselew
Ephrem Temeselew - avatar
+ 2
I saw this post and I thought this is too much. Then I began to code and this is only approximately 30 lines code. Here is my solution in javascript: https://code.sololearn.com/WHLUybMs0DgZ/?ref=app
2nd Feb 2018, 7:12 PM
Ognyan Koychev
Ognyan Koychev - avatar
+ 1
How about with c++
3rd Feb 2018, 1:38 PM
Ephrem Temeselew
Ephrem Temeselew - avatar