0
Find repeated words in a string using php?
4 Answers
+ 2
You can use PHPās substr_count() function to find out how many times a given substring appears or is repeated in a string.
https://code.sololearn.com/wAAwZWpJPQg5/?ref=app
+ 1
parajal12
pardon my very rusty php, but maybe this could help?
https://code.sololearn.com/wPX5MUNE8x7C/?ref=app
0
Thank youš¦šæš²š²š·š
0
But what if we want to know ,which word in the string get repeated ?.š¦šæš²š²š·š