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", ...
Did you know?Explore Trending and Topic pages for more stories like this.

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

Get relative path from absolute path
How would one go about getting the relative path to a file from its absolute path?

need to apply an if/else statement to Tim Thumb script
Not sure how to work this. I essentially want to call a variety of image sizes based on which style

Why do I get this error?
Error:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or

Php Mysql Page Loading Notice
Hi all,

I was wondering if there is a way (Sure there is) of showing a message or an image wh

check how many commas the variable containing the query has between [i]select[/i
Hi...

iv made an sql table that contains id number - name of sql query and an sql query.
T

displaying unknown amount of results
I am reading a directory and getting a list of folders in the directory, I want to display the folde

Need help making login verification cleaner...
I use the below to verify user login. I first check the cookie for the id, ip and a unique id. If it

Polymorphism
Was wondering if someone could explain this a little better to me. I had always assumed that it had

calendar dates and hours compare problem
i have a calendar in wordpress, everything works great except that i can make 2 meetings at the same

upload image name with extension using php
hi frds..

<input id="file1" type="file" name="file[]" &a

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