How can you detect variable string in a massive string?


Posted on 16th Feb 2014 07:03 pm by admin

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!

No comments posted yet

Your Answer:

Login to answer
62 Like 31 Dislike
Previous forums Next forums
Other forums

reading partial code from external site
Hi,

I am trying to write a script for my website to get an article from an external website.

Navigation include for all site directories
Hi,

I need a navigation include that can deal with directories at different levels on a site.

ClientScript.RegisterClientScriptBlock Issue
This is what I haveview plaincopy to clipboardprint?Protected Sub posrback_Click(ByVal sender As Obj

How to give the privillege for triggers?
Hi,

How to give the privillage for triggers to particular user?

Please let me

Entering Data Problem
Code: $result = mysql_query("SELECT * FROM flights");
while ($row = mysql_fetch_array($

Probably a simple error...
I'm getting the error -- Parse error: syntax error, unexpected '{' in /home/content/c/s/t/csteffen24

PHP Code To Change Font Color in Table Cell
I would appreciate help with the following snippet of my php code. I am just trying to change the f

Paypal
Hi all,

I have an advanced basic knowledge of php

I want to try something new for a s

Can I call a class inside a function?
I have a class written in another file that handles my image resizing.

Can I do this (php say

Users and Groups with PHP Classes
Hi,

I have setup what I hope to be a good working User class. Now I want to introduce group m

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash