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

weird problem
last time, i did post a topic concerning why my page sometime will load as blank page when using IE.

DYNPRO_FIELD_CONVERSION
Hi gurus,

I got a dump when I run one of my program. the dump is described below:

Working with Global Variables
hi, I'm not really sure why the following code is returning a "Call to a member function getBan

BI in Upstream Production operations
Appreciate if you can assist in the following areas:
1) Examples of life before and after BI i

Upload, SSL and more php help
I recently just installed a ssl cert and do i use https for the whole site or just for the checkout.

unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_
Can anyone view my code and tell me why im getting the error:
Parse error: syntax error, unexpect

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

mySQL and PHP search
Hello,
I am trying to code a project and ran into a brick wall with one of my pages. I am pretty

Problem with creating FI documents
Hi, Experts!

when i create Fi doc. with standart transaction, i ve been had such problem

code help - pagination
Hi all, I have this code, basically a user logs into my site and they get this page.

The pro

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