0
Find repeated words in a string using php?
4 Respostas
+ 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 ?.𝗦𝗿𝗲𝗲𝗷𝘂