physaux Posted October 17, 2009 Share Posted October 17, 2009 Ok guys, i need some help with this one. I am going to be getting a large string, like 10-20 paragraphs. I will also have an array or words that i would like to search it for. Ex SearchString[1]="cows", ... How could i implement this with php? I would basically want to do a word count, but i want to make the code myself. Can anyone help me? ty! Link to comment https://forums.phpfreaks.com/topic/178041-solved-how-can-you-detect-variable-string-in-a-massive-string/ Share on other sites More sharing options...
waynew Posted October 17, 2009 Share Posted October 17, 2009 This is a job for regular expressions. There's a subforum on this forum especially for it. Link to comment https://forums.phpfreaks.com/topic/178041-solved-how-can-you-detect-variable-string-in-a-massive-string/#findComment-938733 Share on other sites More sharing options...
physaux Posted October 17, 2009 Author Share Posted October 17, 2009 where is it? i am having trouble finding it Link to comment https://forums.phpfreaks.com/topic/178041-solved-how-can-you-detect-variable-string-in-a-massive-string/#findComment-938742 Share on other sites More sharing options...
waynew Posted October 17, 2009 Share Posted October 17, 2009 http://www.phpfreaks.com/forums/index.php/board,43.0.html Link to comment https://forums.phpfreaks.com/topic/178041-solved-how-can-you-detect-variable-string-in-a-massive-string/#findComment-938744 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.