+ 2

How should I count the exact number of same letters in the input of user ?

I have to find if user ha s entered the letter two times in input how can I find it?

15th Aug 2020, 12:57 AM
Shubham Ingale
Shubham Ingale - avatar
2 Answers
15th Aug 2020, 4:54 AM
Shubham Ingale
Shubham Ingale - avatar
0
Yupp.. Count them using count() as Mirielle said
15th Aug 2020, 4:31 AM
sarada lakshmi
sarada lakshmi - avatar