+ 3

Write a program to count number of substrings in a given string .....do help me answer in c language other languages also accpt

26th Mar 2018, 2:04 AM
shaik ruhi
shaik ruhi - avatar
6 Answers
30th Mar 2018, 4:38 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 10
https://code.sololearn.com/c7eCwPSeze8f/?ref=app
26th Mar 2018, 9:05 AM
LukArToDo
LukArToDo - avatar
26th Mar 2018, 2:28 PM
KĂ€zĂź MrĂźdĂčl HĂžssÀßn
KĂ€zĂź MrĂźdĂčl HĂžssÀßn - avatar
+ 2
in JavaScript var count = (yourString.match(/subStrHere/g) || [ ]).length;
30th Mar 2018, 4:53 AM
Morpheus
Morpheus - avatar